@Contract
public interface ProtocolManager
Modifier and Type | Method and Description |
---|---|
void |
connectObject(Remote remoteObj)
Connect the RMI object to the protocol.
|
EjbDescriptor |
getEjbDescriptor(byte[] ejbKey) |
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 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.
|
void initialize(ORB o)
void initializeRemoteNaming(Remote remoteNamingProvider) throws Exception
Exception
RemoteReferenceFactory getRemoteReferenceFactory(EjbContainerFacade container, boolean remoteHomeView, String id)
boolean isIdentical(Remote obj1, Remote obj2)
void validateTargetObjectInterfaces(Remote targetObj)
Throwable mapException(Throwable exception)
boolean isStub(Object obj)
boolean isLocal(Object obj)
byte[] getObjectID(Object obj)
void connectObject(Remote remoteObj) throws RemoteException
RemoteException
EjbDescriptor getEjbDescriptor(byte[] ejbKey)
Copyright © 2020. All rights reserved.