Top Description Fields Methods
org.eclipse.persistence.internal.sequencing

public Interface SequencingServer

extends Sequencing
Known Direct Implementers
org.eclipse.persistence.internal.sequencing.SequencingManager
Imports
org.eclipse.persistence.internal.sessions.AbstractSession, org.eclipse.persistence.sessions.server.ConnectionPool

Purpose: Define interface for sequencing server.

Description: This interface accessed through ServerSession.getSequencingServer() method. Used for creation of ClientSessionSequencing object and for access to sequencing connection pool. Note that if session is disconnected ServerSession.getSequencingServer() always returns null. Setup of SequencingConnectionPool is done only through SequencingControl interface. Even if getSequencingControl().setShouldUseSeparateConnection(true) is specified, SequencingConnectionPool is NOT created unless the session has at least one Sequence object that requires transaction.

Responsibilities:

See Also
ClientSessionSequencing

Field Summary

Inherited from org.eclipse.persistence.internal.sequencing.Sequencing:
AFTER_INSERTBEFORE_INSERTUNDEFINED

Method Summary

Modifier and TypeMethod and Description
public ConnectionPool
public Object
getNextValue(AbstractSession writeSession, Class<?> cls)

Inherited from org.eclipse.persistence.internal.sequencing.Sequencing:
getNextValuewhenShouldAcquireValueForAll

Method Detail

getConnectionPoolback to summary
public ConnectionPool getConnectionPool()
getNextValueback to summary
public Object getNextValue(AbstractSession writeSession, Class<?> cls)