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

public Class SequencingFactory

extends Object
Class Inheritance
Imports
org.eclipse.persistence.sessions.server.ClientSession, org.eclipse.persistence.sessions.remote.DistributedSession, org.eclipse.persistence.internal.sessions.remote.RemoteConnection, org.eclipse.persistence.internal.sessions.AbstractSession, .DatabaseSessionImpl, org.eclipse.persistence.sessions.broker.SessionBroker

SequencingFactory is private to EclipseLink. It instantiates sequencing classes for sessions. It allows sequencing classes to be encapsulated in this package.
See Also
ClientSessionSequencing, RemoteConnectionSequencing, SessionBrokerSequencing, SequencingManager

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Sequencing
createSequencing(AbstractSession session)

INTERNAL: Takes a potential owner - a Session, returns Sequencing object.

public static SequencingHome
createSequencingHome(DatabaseSessionImpl ownerSession)

INTERNAL: Takes a potential owner - a DatabaseSession, returns SequencingHome object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SequencingFactoryback to summary
private SequencingFactory()

Method Detail

createSequencingback to summary
public static Sequencing createSequencing(AbstractSession session)

INTERNAL: Takes a potential owner - a Session, returns Sequencing object. Note that before creating a Sequencing object there is a check performed to determine whether the object could be created.

createSequencingHomeback to summary
public static SequencingHome createSequencingHome(DatabaseSessionImpl ownerSession)

INTERNAL: Takes a potential owner - a DatabaseSession, returns SequencingHome object. Only DatabaseSession and ServerSession should be passed (not SessionBroker).