EclipseLink 1.0_1.0M2 API Reference - Incubation

org.eclipse.persistence.sessions.remote.jms.mdb
Class JMSPublishingOnlyClusteringService

java.lang.Object
  extended by java.lang.Thread
      extended by org.eclipse.persistence.sessions.remote.AbstractClusteringService
          extended by org.eclipse.persistence.sessions.remote.AbstractJNDIClusteringService
              extended by org.eclipse.persistence.sessions.remote.jms.JMSClusteringService
                  extended by org.eclipse.persistence.sessions.remote.jms.mdb.JMSPublishingOnlyClusteringService
All Implemented Interfaces:
java.lang.Runnable

public class JMSPublishingOnlyClusteringService
extends JMSClusteringService


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 org.eclipse.persistence.sessions.remote.jms.JMSClusteringService
connectionFactoryName, listeningConnection, topicName
 
Fields inherited from class org.eclipse.persistence.sessions.remote.AbstractJNDIClusteringService
contextProperties, localContext, password, userName
 
Fields inherited from class org.eclipse.persistence.sessions.remote.AbstractClusteringService
announcementDelay, applicationName, communicationSocket, DEFAULT_MULTICAST_GROUP, DEFAULT_MULTICAST_PORT, DEFAULT_RECV_BUFFER_SIZE, dispatcher, localHostURL, multicastGroupAddress, multicastPort, reconnectionPolicy, session, sessionId, stopListening, timeToLive
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
JMSPublishingOnlyClusteringService(Session session)
          PUBLIC: Creates a JMSPublishingChangesOnlyClusteringService
 
Method Summary
 void connectBackToRemote(RemoteConnection connection)
          INTERNAL: This method is called by the cache synchronization manager when this server should connect back ('handshake') to the server from which this remote connection came.
 void initialize()
          INTERNAL: Initializes the clustering service.
 
Methods inherited from class org.eclipse.persistence.sessions.remote.jms.JMSClusteringService
createRemoteConnection, createRemoteConnection, deregisterDispatcher, getCommunicationSocket, getDispatcher, getLocalRemoteConnection, getTopicConnectionFactoryName, getTopicName, registerDispatcher, retreiveRemoteSessions, run, setTopicConnectionFactoryName, setTopicName, stopListening
 
Methods inherited from class org.eclipse.persistence.sessions.remote.AbstractJNDIClusteringService
getContext, getContext, getInitialContextProperties, getLocalContext, getPassword, getUserName, setContext, setInitialContextFactoryName, setInitialContextProperties, setLocalHostURL, setPassword, setUserName
 
Methods inherited from class org.eclipse.persistence.sessions.remote.AbstractClusteringService
announceSession, buildSessionId, getAnnouncementDelay, getApplicationName, getLocalHostURL, getMulticastGroupAddress, getMulticastPort, getReconnectPolicy, getSession, getSessionId, getTimeToLive, listen, receivedAnnouncement, reconnect, setAnnouncementDelay, setApplicationName, setDispatcher, setMulticastGroupAddress, setMulticastPort, setReconnectPolicy, setSession, setSessionId, setTimeToLive
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JMSPublishingOnlyClusteringService

public JMSPublishingOnlyClusteringService(Session session)
PUBLIC: Creates a JMSPublishingChangesOnlyClusteringService

Method Detail

initialize

public void initialize()
INTERNAL: Initializes the clustering service. Overwrite super method and not spawning thread

Overrides:
initialize in class JMSClusteringService

connectBackToRemote

public void connectBackToRemote(RemoteConnection connection)
                         throws java.lang.Exception
INTERNAL: This method is called by the cache synchronization manager when this server should connect back ('handshake') to the server from which this remote connection came.

Overrides:
connectBackToRemote in class JMSClusteringService
Throws:
java.lang.Exception

EclipseLink 1.0_1.0M2 API Reference - Incubation