org.jacorb.orb
public final class Delegate extends Delegate implements Configurable
Version: $Id: Delegate.java,v 1.143 2007/02/15 12:56:06 andre.spiegel Exp $
| Constructor Summary | |
|---|---|
| Delegate(ORB orb, ParsedIOR pior) | |
| Delegate(ORB orb, String object_reference) | |
| Delegate(ORB orb, IOR ior) | |
| Delegate(ORB orb, String object_reference, boolean _donotcheckexceptions)
special constructor for appligator | |
| Method Summary | |
|---|---|
| void | configure(Configuration config) |
| Request | create_request(Object self, Context ctx, String operation, NVList args, NamedValue result) |
| Request | create_request(Object self, Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exceptions, ContextList contexts) |
| boolean | doNotCheckExceptions() |
| Object | duplicate(Object self) |
| boolean | equals(Object obj) |
| boolean | equals(Object self, Object obj) |
| protected void | finalize()
Called when a client-side stub is garbage-collected.
|
| Protocol[] | getClientProtocols() |
| String | getIDString() |
| IOR | getIOR() |
| byte[] | getObjectId() |
| byte[] | getObjectKey() |
| ParsedIOR | getParsedIOR() |
| POA | getPOA() |
| ObjectImpl | getReference(POA _poa) |
| long | getRelativeRequestTimeout() |
| long | getRelativeRoundtripTimeout() |
| UtcT | getReplyEndTime() |
| UtcT | getReplyStartTime() |
| UtcT | getRequestEndTime() |
| UtcT | getRequestStartTime() |
| short | getSyncScope() |
| Policy | get_client_policy(int policy_type)
Gets the effective overriding policy with the given type from
the client-side, or null if this policy type is unset.
|
| String | get_codebase(Object self) |
| Object | get_component(Object self) |
| DomainManager[] | get_domain_managers(Object self) |
| InterfaceDef | get_interface(Object self) |
| Object | get_interface_def(Object self) |
| Set | get_pending_replies() |
| Policy | get_policy(Object self, int policy_type)
The get_policy operation returns the policy object of the
specified type, which applies to this object. |
| Policy | get_policy(Object self, int policy_type, OutputStream os) |
| int | hash(Object self, int x) |
| int | hashCode() |
| int | hashCode(Object self) |
| void | invoke(Object self, OutputStream os, ReplyHandler replyHandler)
Invokes an asynchronous operation using this object reference by
sending the request marshalled in the OutputStream. |
| InputStream | invoke(Object self, OutputStream os)
Invokes a synchronous operation using this object reference
by sending the request marshalled in the OutputStream. |
| void | invokeInterceptors(ClientRequestInfoImpl info, short op) |
| boolean | is_a(Object self, String logical_type_id)
Determines whether the object denoted by self
has type logical_type_id or a subtype of it |
| boolean | is_equivalent(Object self, Object obj) |
| boolean | is_local(Object self) |
| boolean | is_nil() |
| void | lockBarrier() |
| boolean | non_existent(Object self) |
| void | openBarrier() |
| ORB | orb(Object self) |
| void | rebind(Object obj) |
| void | rebind(ParsedIOR ior) |
| void | release(Object self)
Called to indicate that this Delegate will no longer be used by
the client. |
| void | releaseReply(Object self, InputStream is)
releases the InputStream |
| void | replyDone(ReplyPlaceholder placeholder) |
| Request | request(Object self, String operation) |
| OutputStream | request(Object self, String operation, boolean responseExpected) |
| void | resolvePOA(Object self) |
| void | servant_postinvoke(Object self, ServantObject servant)
Overrides servant_postinvoke() in org.omg.CORBA.portable.Delegate called from generated stubs after a local operation |
| ServantObject | servant_preinvoke(Object self, String operation, Class expectedType)
Overrides servant_preinvoke() in org.omg.CORBA.portable.Delegate called from generated stubs before a local operation |
| Object | set_policy_override(Object self, Policy[] policies, SetOverrideType set_add) |
| String | toString() |
| String | toString(Object self) |
| String | typeId() |
| void | waitOnBarrier() |
| int | _get_TCKind() |
Deprecated: Deprecated by CORBA 2.3
The effective Policy is determined by reconciling the effective override and the IOR-specified Policy. If the two policies cannot be reconciled, the standard system exception INV_POLICY is raised with standard minor code 1. The absence of a Policy value in the IOR implies that any legal value may be used.
Returns: the reply, if a reply is expected for this request. If no reply is expected, returns null.
Returns: true if this object lives on a local POA and interceptors are not installed. When interceptors are installed this returns false so that stubs do not call direct to implementation, avoiding installed interceptors.