public interface RemoteReferenceFactory
| 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)
Destroy an EJBObject or EJBHome remote ref
so that it can no longer be used for remote invocations.
|
int |
getCSIv2PolicyType() |
boolean |
hasSameContainerID(Object ref) |
void |
setRepositoryIds(Class homeIntf,
Class remoteIntf) |
Remote createRemoteReference(byte[] instanceKey)
instanceKey - a unique identifier for the EJB instance
which is unique across all EJB refs created using this
RemoteReferenceFactory instance.Remote createHomeReference(byte[] homeKey)
homeKey - a unique identifier for the EJB instance
which is unique across all EJB refs created using this
RemoteReferenceFactory instance.void destroyReference(Remote remoteRef, Remote remoteObj)
remoteRef - the remote reference for the EJBObject/EJBHomeremoteObj - the servant corresponding to the remote reference.void destroy()
void cleanupClass(Class clazz)
int getCSIv2PolicyType()
Copyright © 2017. All rights reserved.