EclipseLink 1.0_1.0M2 API Reference - Incubation

org.eclipse.persistence.sessions.remote.jms
Class JMSDistributedSessionReconnectPolicy

java.lang.Object
  extended by org.eclipse.persistence.sessions.remote.DistributedSessionReconnectPolicy
      extended by org.eclipse.persistence.sessions.remote.jms.JMSDistributedSessionReconnectPolicy

Deprecated. since OracleAS TopLink 10g (10.1.3). This class is replaced by JMSTopicTransportManager

public class JMSDistributedSessionReconnectPolicy
extends DistributedSessionReconnectPolicy

PURPOSE:To Provide policy for reconnecting distributed sessions for cache Synch

Descripton:This class Defines the behavior for attempting to reconnect sessions. It will attempt to reconnect based on information from the old connection

See Also:
JMSClusteringService
Author:
Gordon Yorke

Field Summary
protected  AbstractClusteringService clusteringService
          Deprecated.  
 
Constructor Summary
JMSDistributedSessionReconnectPolicy(AbstractClusteringService clusteringService)
          Deprecated.  
 
Method Summary
 RemoteConnection reconnect(RemoteConnection oldConnection)
          Deprecated. PUBLIC: This method is called by the Cache Synchronization manager when a connection to the remote service or remote sessions fails and must be re-connected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clusteringService

protected AbstractClusteringService clusteringService
Deprecated. 
Constructor Detail

JMSDistributedSessionReconnectPolicy

public JMSDistributedSessionReconnectPolicy(AbstractClusteringService clusteringService)
Deprecated. 
Method Detail

reconnect

public RemoteConnection reconnect(RemoteConnection oldConnection)
Deprecated. 
PUBLIC: This method is called by the Cache Synchronization manager when a connection to the remote service or remote sessions fails and must be re-connected. Overload this method to provide custom behaviour. by Default the behaviour is not to attempt reconnection. This will be taken care of by the Clustering Service when the remote announcemnet from the other server comes in.

Overrides:
reconnect in class DistributedSessionReconnectPolicy

EclipseLink 1.0_1.0M2 API Reference - Incubation