@Service public final class POAProtocolMgr extends LocalObject implements ProtocolManager
| Constructor and Description |
|---|
POAProtocolMgr() |
| Modifier and Type | Method and Description |
|---|---|
void |
connectObject(Remote remoteObj)
Connect the RMI object to the protocol.
|
EjbDescriptor |
getEjbDescriptor(byte[] ejbKey)
Called from SecurityMechanismSelector for each objref creation
|
byte[] |
getObjectID(Object obj) |
RemoteReferenceFactory |
getRemoteReferenceFactory(EjbContainerFacade container,
boolean remoteHomeView,
String id)
Return a factory that can be used to create/destroy remote
references for a particular EJB type.
|
void |
initialize(ORB o) |
void |
initializeNaming() |
void |
initializePOAs() |
void |
initializeRemoteNaming(Remote remoteNamingProvider) |
boolean |
isIdentical(Remote obj1,
Remote obj2)
Return true if the two object references refer to the same
remote object.
|
boolean |
isLocal(Object obj) |
boolean |
isStub(Object obj)
True if object is a corba stub
|
Throwable |
mapException(Throwable exception)
Map the EJB/RMI exception to a protocol-specific (e.g.
|
void |
validateTargetObjectInterfaces(Remote targetObj)
Check that all Remote interfaces implemented by target object
conform to the rules for valid RMI-IIOP interfaces.
|
_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_connectionpublic void initialize(ORB o)
initialize in interface ProtocolManagerpublic void initializePOAs()
throws Exception
initializePOAs in interface ProtocolManagerExceptionpublic void initializeRemoteNaming(Remote remoteNamingProvider) throws Exception
initializeRemoteNaming in interface ProtocolManagerExceptionpublic void initializeNaming()
throws Exception
initializeNaming in interface ProtocolManagerExceptionpublic RemoteReferenceFactory getRemoteReferenceFactory(EjbContainerFacade container, boolean remoteHomeView, String id)
getRemoteReferenceFactory in interface ProtocolManagercontainer - The container to useremoteHomeView - The remote home viewid - The object idpublic void connectObject(Remote remoteObj) throws RemoteException
connectObject in interface ProtocolManagerRemoteExceptionpublic boolean isStub(Object obj)
ProtocolManagerisStub in interface ProtocolManagerpublic boolean isLocal(Object obj)
isLocal in interface ProtocolManagerpublic byte[] getObjectID(Object obj)
getObjectID in interface ProtocolManagerpublic boolean isIdentical(Remote obj1, Remote obj2)
isIdentical in interface ProtocolManagerpublic void validateTargetObjectInterfaces(Remote targetObj)
ProtocolManagervalidateTargetObjectInterfaces in interface ProtocolManagerpublic Throwable mapException(Throwable exception)
mapException in interface ProtocolManagerpublic EjbDescriptor getEjbDescriptor(byte[] ejbKey)
getEjbDescriptor in interface ProtocolManagerCopyright © 2019. All rights reserved.