|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread oracle.toplink.remote.AbstractClusteringService oracle.toplink.remote.AbstractJNDIClusteringService oracle.toplink.remote.corba.sun.CORBAJNDIClusteringService
SunCORBATransportManager
public class CORBAJNDIClusteringService
PURPOSE:To Provide a framework for offering customers the ability to automatically connect multiple sessions for synchrnization.
Descripton:This thread object will place a remote dispatcher in the specified JNDI space. it will also monitor the specified multicast socket to allow other sessions to connect. This Particular class has been configured to use the RMI transport protocols. This class also assumes that there is a JNDI service available. And is best used within an application server.
CacheSynchronizationManager
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
CORBAJNDIClusteringService(Session session)
Deprecated. Creates a CORBAJNDIClusteringService |
|
CORBAJNDIClusteringService(java.lang.String multicastAddress,
int multicastPort,
Session session)
Deprecated. ADVANCED: Creates a CORBAJNDIClusteringService |
Method Summary | |
---|---|
oracle.toplink.internal.remote.RemoteConnection |
createRemoteConnection(java.lang.String sessionId,
java.lang.String jndiHostURL)
Deprecated. ADVANCED: This method should return a remote connection of the appropraite type for use in the synchronizatio |
void |
deregisterDispatcher()
Deprecated. ADVANCED: This method will deregister the dispatcher for this session from JNDI on the specified host. |
java.net.MulticastSocket |
getCommunicationSocket()
Deprecated. ADVANCED: Returns the socket that will be used for the multicast communication. |
javax.naming.Context |
getContext(java.lang.String jndiHostURL)
Deprecated. Since 4.5 |
java.lang.Object |
getDispatcher()
Deprecated. ADVANCED: This is the object that will be placed in JNDI to provide remote synchronization services |
oracle.toplink.internal.remote.RemoteConnection |
getLocalRemoteConnection()
Deprecated. ADVANCED: This method should return a Remote Connection of the appropriate type that references the Remote dispatcher for this Session |
void |
registerDispatcher()
Deprecated. ADVANCED: This method will register the dispatcher for this session in JNDI on the specified host. |
Methods inherited from class oracle.toplink.remote.AbstractJNDIClusteringService |
---|
getInitialContextProperties, getPassword, getUserName, setContext, setInitialContextFactoryName, setInitialContextProperties, setLocalHostURL, setPassword, setUserName |
Methods inherited from class oracle.toplink.remote.AbstractClusteringService |
---|
getAnnouncementDelay, getApplicationName, getLocalHostURL, getMulticastGroupAddress, getMulticastPort, getSessionId, getTimeToLive, setAnnouncementDelay, setApplicationName, setDispatcher, setMulticastGroupAddress, setMulticastPort, setSessionId, setTimeToLive, stopListening |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CORBAJNDIClusteringService(java.lang.String multicastAddress, int multicastPort, Session session)
multicastAddress
- The address of the multicast groupmulticastPort
- The port the multicast group is listening onjndiHostURL
- The URL of the JNDI servicepublic CORBAJNDIClusteringService(Session session)
jndiHostURL
- The URL of the JNDI serviceMethod Detail |
---|
public void registerDispatcher()
registerDispatcher
in class AbstractClusteringService
jndiHostURL
- This is the URL that will be used to register the synchronization servicepublic void deregisterDispatcher()
deregisterDispatcher
in class AbstractClusteringService
jndiHostURL
- This is the URL that will be used to register the synchronization servicepublic oracle.toplink.internal.remote.RemoteConnection createRemoteConnection(java.lang.String sessionId, java.lang.String jndiHostURL)
createRemoteConnection
in class AbstractClusteringService
public java.net.MulticastSocket getCommunicationSocket()
getCommunicationSocket
in class AbstractClusteringService
public javax.naming.Context getContext(java.lang.String jndiHostURL)
getContext
in class AbstractJNDIClusteringService
public java.lang.Object getDispatcher() throws java.rmi.RemoteException
getDispatcher
in class AbstractClusteringService
java.rmi.RemoteException
public oracle.toplink.internal.remote.RemoteConnection getLocalRemoteConnection()
getLocalRemoteConnection
in class AbstractClusteringService
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |