public class TOAImpl extends ObjectAdapterBase implements TOA
| Constructor and Description |
|---|
TOAImpl(ORB orb,
TransientObjectManager tom,
String codebase) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(Object objref)
Connect the given servant to the ORB by allocating a transient object key
and creating an IOR and object reference using the current factory.
|
void |
disconnect(Object objref)
Disconnect the object from this ORB.
|
void |
enter()
enter must be called before each request is invoked on a servant.
|
void |
exit()
exit must be called after each request has been completed.
|
Policy |
getEffectivePolicy(int type) |
String[] |
getInterfaces(Object servant,
byte[] objectId)
Return the most derived interface for the given servant and objectId.
|
void |
getInvocationServant(OAInvocationInfo info)
Get the servant for the request given by the parameters.
|
Object |
getLocalServant(byte[] objectId)
Get the servant corresponding to the given objectId, if this is supported.
|
int |
getManagerId()
Return the ID of the AdapterManager for this object adapter.
|
ObjectCopierFactory |
getObjectCopierFactory() |
short |
getState()
Return the current state of this object adapter (see
org.omg.PortableInterceptors for states.
|
void |
returnServant()
Must be called every time getInvocationServant is called after
the request has completed.
|
getAdapterId, getAdapterTemplate, getCurrentFactory, getIORTemplate, getORB, initializeTemplate, invocationWrapper, iorWrapper, lifecycleWrapper, makeInvocationInfo, makeObject, omgInvocationWrapper, omgLifecycleWrapper, setCurrentFactory_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAdapterTemplate, getCurrentFactory, getIORTemplate, getORB, makeInvocationInfo, setCurrentFactorypublic TOAImpl(ORB orb, TransientObjectManager tom, String codebase)
public ObjectCopierFactory getObjectCopierFactory()
getObjectCopierFactory in class ObjectAdapterBasepublic Object getLocalServant(byte[] objectId)
ObjectAdaptergetLocalServant in interface ObjectAdaptergetLocalServant in class ObjectAdapterBasepublic void getInvocationServant(OAInvocationInfo info)
getInvocationServant in interface ObjectAdaptergetInvocationServant in class ObjectAdapterBaserequest - is the request containing the rest of the requestpublic void returnServant()
ObjectAdapterreturnServant in interface ObjectAdapterreturnServant in class ObjectAdapterBasepublic String[] getInterfaces(Object servant, byte[] objectId)
getInterfaces in interface ObjectAdaptergetInterfaces in class ObjectAdapterBasepublic Policy getEffectivePolicy(int type)
getEffectivePolicy in interface ObjectAdaptergetEffectivePolicy in class ObjectAdapterBasepublic int getManagerId()
ObjectAdaptergetManagerId in interface ObjectAdaptergetManagerId in class ObjectAdapterBasepublic short getState()
ObjectAdaptergetState in interface ObjectAdaptergetState in class ObjectAdapterBasepublic void enter()
throws OADestroyed
ObjectAdapterenter in interface ObjectAdapterenter in class ObjectAdapterBaseOADestroyed - is thrown when an OA has been destroyed, which
requires a retry in the case where an AdapterActivator is present.public void exit()
ObjectAdapterexit in interface ObjectAdapterexit in class ObjectAdapterBasepublic void connect(Object objref)
TOApublic void disconnect(Object objref)
TOAdisconnect in interface TOACopyright © 2018 JBoss by Red Hat. All rights reserved.