Methods Summary |
---|
public java.lang.Object | getNextValue(java.lang.Class cls)INTERNAL:
This method is the reason for this class to exist:
SequencingServer.getNextValue takes two arguments
the first argument being a session which owns write connection
(either DatabaseSession or ClientSession).
return sequencingServer.getNextValue(clientSession, cls);
|
public static boolean | sequencingServerExists(oracle.toplink.essentials.threetier.ClientSession cs)INTERNAL:
Takes a potential owner - ClientSession as an argument.
This static method is called before an instance of this class is created.
The goal is to verify whether the instance of ClientSessionSequencing should be created.
return cs.getParent().getSequencingServer() != null;
|
public boolean | shouldAcquireValueAfterInsert(java.lang.Class cls)INTERNAL:
Simply calls the same method on SequencingServer
return sequencingServer.shouldAcquireValueAfterInsert(cls);
|
public boolean | shouldOverrideExistingValue(java.lang.Class cls, java.lang.Object existingValue)INTERNAL:
Simply calls the same method on SequencingServer
return sequencingServer.shouldOverrideExistingValue(cls, existingValue);
|
public int | whenShouldAcquireValueForAll()INTERNAL:
Simply calls the same method on SequencingServer
return sequencingServer.whenShouldAcquireValueForAll();
|