|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
org.eclipse.persistence.sessions.coordination.TransportManager
org.eclipse.persistence.sessions.coordination.rmi.RMITransportManager
public class RMITransportManager
Purpose: Provide an RMI 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 | |
---|---|
boolean |
isRMIOverIIOP Determines whether RMI over IIOP or not |
Constructor Summary | |
---|---|
RMITransportManager(RemoteCommandManager rcm) |
Method Summary | |
---|---|
org.eclipse.persistence.internal.sessions.coordination.RemoteConnection |
createConnection(ServiceId connectionServiceId) INTERNAL: Create and return an RMI remote connection to the specified service |
protected org.eclipse.persistence.internal.sessions.coordination.RemoteConnection |
createConnectionFromJNDI(java.lang.String remoteObjectIdentifier, java.lang.String hostURL) INTERNAL: Look the specified remote object up in JNDI and return a Connection to it. |
protected org.eclipse.persistence.internal.sessions.coordination.RemoteConnection |
createConnectionFromRegistry(java.lang.String remoteObjectIdentifier, java.lang.String hostURL) INTERNAL: Look the specified remote object up in the RMIRegistry and return a Connection to it. |
void |
createLocalConnection() INTERNAL: Create the local command connection for this transport in a naming service and return it. |
protected void |
createLocalConnectionInJNDI() INTERNAL: Put the local command connection of this transport in JNDI and return it |
protected org.eclipse.persistence.internal.sessions.coordination.RemoteConnection |
createLocalConnectionInRegistry() INTERNAL: Put the local command connection of this transport in the Registry and return it |
private java.lang.String |
formatURLforRegistry(java.lang.String url, java.lang.String serviceName) INTERNAL: Format the URL so that it can be used to look up the RMI Registry. |
java.lang.String |
getDefaultLocalUrl() INTERNAL: Return the default local URL for JNDI lookups |
javax.naming.Context |
getLocalHostContext() INTERNAL: Return the context used for looking up in local JNDI. |
void |
initialize() INTERNAL: Initialize default properties for RMI. |
boolean |
isRMIOverIIOP() INTERNAL Check whether RMI over IIOP or not |
void |
removeLocalConnection() ADVANCED: Remove the local connection from remote accesses. |
void |
setIsRMIOverIIOP(boolean value) INTERNAL set RMI over IIOP |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean isRMIOverIIOP
Constructor Detail |
---|
public RMITransportManager(RemoteCommandManager rcm)
Method Detail |
---|
public org.eclipse.persistence.internal.sessions.coordination.RemoteConnection createConnection(ServiceId connectionServiceId)
createConnection
in class TransportManager
protected org.eclipse.persistence.internal.sessions.coordination.RemoteConnection createConnectionFromJNDI(java.lang.String remoteObjectIdentifier, java.lang.String hostURL)
protected org.eclipse.persistence.internal.sessions.coordination.RemoteConnection createConnectionFromRegistry(java.lang.String remoteObjectIdentifier, java.lang.String hostURL)
public void createLocalConnection()
createLocalConnection
in class TransportManager
protected void createLocalConnectionInJNDI()
protected org.eclipse.persistence.internal.sessions.coordination.RemoteConnection createLocalConnectionInRegistry()
public javax.naming.Context getLocalHostContext()
private java.lang.String formatURLforRegistry(java.lang.String url, java.lang.String serviceName)
public java.lang.String getDefaultLocalUrl()
public void initialize()
initialize
in class TransportManager
public void removeLocalConnection()
removeLocalConnection
in class TransportManager
public boolean isRMIOverIIOP()
public void setIsRMIOverIIOP(boolean value)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |