|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.omg.CORBA.LocalObject
org.glassfish.enterprise.iiop.impl.POAProtocolMgr
@Service public final class POAProtocolMgr
This class implements the ProtocolManager interface for the RMI/IIOP ORB with POA (Portable Object Adapter). Note that the POA is now accessed only through the ReferenceFactoryManager for EJB.
| Constructor Summary | |
|---|---|
POAProtocolMgr()
|
|
| Method Summary | |
|---|---|
void |
connectObject(java.rmi.Remote remoteObj)
Connect the RMI object to the protocol. |
EjbDescriptor |
getEjbDescriptor(byte[] ejbKey)
Called from SecurityMechanismSelector for each objref creation |
byte[] |
getObjectID(org.omg.CORBA.Object obj)
|
RemoteReferenceFactory |
getRemoteReferenceFactory(EjbContainerFacade container,
boolean remoteHomeView,
java.lang.String id)
Return a factory that can be used to create/destroy remote references for a particular EJB type. |
void |
initialize(org.omg.CORBA.ORB o)
|
void |
initializeNaming()
|
void |
initializePOAs()
|
void |
initializeRemoteNaming(java.rmi.Remote remoteNamingProvider)
|
boolean |
isIdentical(java.rmi.Remote obj1,
java.rmi.Remote obj2)
Return true if the two object references refer to the same remote object. |
boolean |
isLocal(java.lang.Object obj)
|
boolean |
isStub(java.lang.Object obj)
|
java.lang.Throwable |
mapException(java.lang.Throwable exception)
Map the EJB/RMI exception to a protocol-specific (e.g. |
void |
validateTargetObjectInterfaces(java.rmi.Remote targetObj)
|
| Methods inherited from class org.omg.CORBA.LocalObject |
|---|
_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_connection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public POAProtocolMgr()
| Method Detail |
|---|
public void initialize(org.omg.CORBA.ORB o)
initialize in interface ProtocolManager
public void initializePOAs()
throws java.lang.Exception
initializePOAs in interface ProtocolManagerjava.lang.Exception
public void initializeRemoteNaming(java.rmi.Remote remoteNamingProvider)
throws java.lang.Exception
initializeRemoteNaming in interface ProtocolManagerjava.lang.Exception
public void initializeNaming()
throws java.lang.Exception
initializeNaming in interface ProtocolManagerjava.lang.Exception
public RemoteReferenceFactory getRemoteReferenceFactory(EjbContainerFacade container,
boolean remoteHomeView,
java.lang.String id)
getRemoteReferenceFactory in interface ProtocolManagercontainer - The container to useremoteHomeView - The remote home viewid - The object id
public void connectObject(java.rmi.Remote remoteObj)
throws java.rmi.RemoteException
connectObject in interface ProtocolManagerjava.rmi.RemoteExceptionpublic boolean isStub(java.lang.Object obj)
isStub in interface ProtocolManagerpublic boolean isLocal(java.lang.Object obj)
isLocal in interface ProtocolManagerpublic byte[] getObjectID(org.omg.CORBA.Object obj)
getObjectID in interface ProtocolManager
public boolean isIdentical(java.rmi.Remote obj1,
java.rmi.Remote obj2)
isIdentical in interface ProtocolManagerpublic void validateTargetObjectInterfaces(java.rmi.Remote targetObj)
validateTargetObjectInterfaces in interface ProtocolManagerpublic java.lang.Throwable mapException(java.lang.Throwable exception)
mapException in interface ProtocolManagerpublic EjbDescriptor getEjbDescriptor(byte[] ejbKey)
getEjbDescriptor in interface ProtocolManager
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||