Module eclipselink
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
-
public class RMIIIOPTransportManager extends RMITransportManager
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
Constructors Constructor Description RMIIIOPTransportManager(RemoteCommandManager rcm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.persistence.internal.sessions.coordination.RemoteConnection
createConnectionFromJNDI(String remoteObjectIdentifier, String hostURL)
INTERNAL: Look the specified remote object up in JNDI and return a Connection to it.protected void
createLocalConnectionInJNDI()
INTERNAL: Put the local command connection of this transport in JNDI and return itString
getDefaultLocalUrl()
INTERNAL: Return the default local URL for JNDI lookups-
Methods 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 Detail
-
RMIIIOPTransportManager
public RMIIIOPTransportManager(RemoteCommandManager rcm)
-
-
Method Detail
-
createConnectionFromJNDI
protected org.eclipse.persistence.internal.sessions.coordination.RemoteConnection createConnectionFromJNDI(String remoteObjectIdentifier, String hostURL)
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
public String getDefaultLocalUrl()
INTERNAL: Return the default local URL for JNDI lookups- Overrides:
getDefaultLocalUrl
in classRMITransportManager
-
-