public final class POARemoteReferenceFactory extends LocalObject implements RemoteReferenceFactory, ServantLocator
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupClass(Class clazz) |
Remote |
createHomeReference(byte[] homeKey)
Create a remote reference for an EJBHome which can
be used for performing remote invocations.
|
Remote |
createRemoteReference(byte[] instanceKey)
Create a remote reference for an EJBObject which can
be used for performing remote invocations.
|
void |
destroy()
Destroy the factory itself.
|
void |
destroyReference(Remote remoteRef,
Remote remoteObj)
Disconnect an EJBObject or EJBHome from the ORB.
|
int |
getCSIv2PolicyType() |
boolean |
hasSameContainerID(Object obj) |
void |
postinvoke(byte[] ejbKey,
POA adapter,
String operation,
Object cookie,
Servant servant) |
Servant |
preinvoke(byte[] ejbKey,
POA adapter,
String operation,
CookieHolder cookieHolder)
This is the implementation of ServantLocator.preinvoke()
It is called from the POA before every remote invocation.
|
void |
setRepositoryIds(Class homeIntf,
Class remoteIntf) |
_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, wait_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_overridepublic int getCSIv2PolicyType()
getCSIv2PolicyType in interface RemoteReferenceFactorypublic void setRepositoryIds(Class homeIntf, Class remoteIntf)
setRepositoryIds in interface RemoteReferenceFactorypublic void cleanupClass(Class clazz)
cleanupClass in interface RemoteReferenceFactorypublic Remote createRemoteReference(byte[] instanceKey)
RemoteReferenceFactorycreateRemoteReference in interface RemoteReferenceFactoryinstanceKey - a unique identifier for the EJB instance
which is unique across all EJB refs created using this
RemoteReferenceFactory instance.public Remote createHomeReference(byte[] homeKey)
RemoteReferenceFactorycreateHomeReference in interface RemoteReferenceFactoryhomeKey - a unique identifier for the EJB instance
which is unique across all EJB refs created using this
RemoteReferenceFactory instance.public void destroyReference(Remote remoteRef, Remote remoteObj)
destroyReference in interface RemoteReferenceFactoryremoteRef - the remote reference for the EJBObject/EJBHomeremoteObj - the servant corresponding to the remote reference.public Servant preinvoke(byte[] ejbKey, POA adapter, String operation, CookieHolder cookieHolder) throws ForwardRequest
preinvoke in interface ServantLocatorOperationsejbKey - cookieHolder - ForwardRequestpublic void postinvoke(byte[] ejbKey,
POA adapter,
String operation,
Object cookie,
Servant servant)
postinvoke in interface ServantLocatorOperationspublic void destroy()
RemoteReferenceFactorydestroy in interface RemoteReferenceFactorypublic boolean hasSameContainerID(Object obj) throws Exception
hasSameContainerID in interface RemoteReferenceFactoryExceptionCopyright © 2019. All rights reserved.