Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.remote
Class DistributedSessionReconnectPolicy

java.lang.Object
  extended byoracle.toplink.remote.DistributedSessionReconnectPolicy

Direct Known Subclasses:
JMSDistributedSessionReconnectPolicy

public class DistributedSessionReconnectPolicy
extends java.lang.Object

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

Descripton:This class Defines the behavior for attempting to reconnect sessions. It can be overloaded to provide behaviour specific to the clustering Service

See Also:
oracle.toplink.remote.AbtractClusteringService

Constructor Summary
DistributedSessionReconnectPolicy()

Method Summary
oracle.toplink.internal.remote.RemoteConnection reconnect(oracle.toplink.internal.remote.RemoteConnection oldConnection)
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

DistributedSessionReconnectPolicy

public DistributedSessionReconnectPolicy()

Method Detail

reconnect

public oracle.toplink.internal.remote.RemoteConnection reconnect(oracle.toplink.internal.remote.RemoteConnection oldConnection)
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.

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.