Class RMIIIOPTransportManager
java.lang.Object
org.eclipse.persistence.sessions.coordination.TransportManager
org.eclipse.persistence.sessions.coordination.rmi.RMITransportManager
org.eclipse.persistence.sessions.remote.rmi.iiop.RMIIIOPTransportManager
Purpose: Provide an RMI-IIOP transport implementation for RCM.
Description: This class manages the RMI remote connections to other RCM service instances and posts the local RMI connection to this service instance in a name service so that other RCM service instances can connect to it.
-
Field Summary
Fields inherited from class org.eclipse.persistence.sessions.coordination.TransportManager
connectionsToExternalServices, DEFAULT_CONTEXT_FACTORY, DEFAULT_DEDICATED_CONNECTION_KEY, DEFAULT_DEDICATED_CONNECTION_VALUE, DEFAULT_IIOP_URL_PORT, DEFAULT_IIOP_URL_PROTOCOL, DEFAULT_NAMING_SERVICE, DEFAULT_REMOVE_CONNECTION_ON_ERROR_MODE, DEFAULT_URL_PORT, DEFAULT_URL_PROTOCOL, DEFAULT_USER_NAME, JNDI_NAMING_SERVICE, localConnection, localContextProperties, namingServiceType, rcm, REGISTRY_NAMING_SERVICE, remoteContextProperties, securableObjectHolder, shouldRemoveConnectionOnError
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected RemoteConnection
createConnectionFromJNDI
(String remoteObjectIdentifier, String hostURL) INTERNAL: Look the specified remote object up in JNDI and return a Connection to it.protected void
INTERNAL: Put the local command connection of this transport in JNDI and return itINTERNAL: Return the default local URL for JNDI lookupsMethods inherited from class org.eclipse.persistence.sessions.coordination.rmi.RMITransportManager
createConnection, createConnectionFromRegistry, createLocalConnection, createLocalConnectionInRegistry, getLocalHostContext, initialize, removeLocalConnection
Methods inherited from class org.eclipse.persistence.sessions.coordination.TransportManager
addConnectionToExternalService, connectBackToRemote, createConnections, createDiscoveryManager, decrypt, discardConnections, encrypt, getConnectionsToExternalServices, getConnectionsToExternalServicesForCommandPropagation, getConnectionToLocalHost, getContext, getEncryptedPassword, getInitialContextFactoryName, getLocalContextProperties, getNamingServiceType, getPassword, getRemoteCommandManager, getRemoteContextProperties, getRemoteHostContext, getUserName, hasPassword, newTransportManager, removeAllConnectionsToExternalServices, removeConnectionToExternalService, setConfig, setEncryptedPassword, setEncryptionClassName, setInitialContextFactoryName, setLocalContextProperties, setNamingServiceType, setPassword, setRemoteCommandManager, setRemoteContextProperties, setShouldRemoveConnectionOnError, setUserName, shouldRemoveConnectionOnError
-
Constructor Details
-
RMIIIOPTransportManager
-
-
Method Details
-
createConnectionFromJNDI
INTERNAL: Look the specified remote object up in JNDI and return a Connection to it.- Overrides:
createConnectionFromJNDI
in classRMITransportManager
-
createLocalConnectionInJNDI
protected void createLocalConnectionInJNDI()INTERNAL: Put the local command connection of this transport in JNDI and return it- Overrides:
createLocalConnectionInJNDI
in classRMITransportManager
-
getDefaultLocalUrl
INTERNAL: Return the default local URL for JNDI lookups- Overrides:
getDefaultLocalUrl
in classRMITransportManager
-