|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.otm.OTMKit
OTMKit implementations provide the initial point of entry into the OTM layer.
Constructor Summary | |
OTMKit()
|
Method Summary | |
OTMConnection |
acquireConnection(PBKey pbKey)
Obtain an OTMConnection for the given persistence broker key |
abstract ObjectCopyStrategy |
getCopyStrategy(Identity oid)
|
abstract LockMap |
getLockMap()
|
abstract LockWaitStrategy |
getLockWaitStrategy()
|
abstract Swizzling |
getSwizzlingStrategy()
|
Transaction |
getTransaction(OTMConnection conn)
Obtain the transaction which conn is currently
bound to. |
protected abstract TransactionFactory |
getTransactionFactory()
|
abstract boolean |
isEagerInsert(java.lang.Object obj)
Should OTM perform INSERTs for the given object eagerly or during commit? |
abstract boolean |
isImplicitLockingUsed()
Should OTM implicitely read lock all objects that are reachable from the explicitely locked object? The updates to the read locked objects are automatically stored to the database at the end of transaction. |
abstract boolean |
isInsertVerified()
Should OTM verify each inserted object for presence in the database? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OTMKit()
Method Detail |
public OTMConnection acquireConnection(PBKey pbKey)
acquireConnection
in interface Kit
public Transaction getTransaction(OTMConnection conn)
conn
is currently
bound to.
getTransaction
in interface Kit
protected abstract TransactionFactory getTransactionFactory()
public abstract Swizzling getSwizzlingStrategy()
getSwizzlingStrategy
in interface Kit
public abstract LockWaitStrategy getLockWaitStrategy()
getLockWaitStrategy
in interface Kit
public abstract LockMap getLockMap()
getLockMap
in interface Kit
public abstract ObjectCopyStrategy getCopyStrategy(Identity oid)
getCopyStrategy
in interface Kit
public abstract boolean isImplicitLockingUsed()
isImplicitLockingUsed
in interface Kit
public abstract boolean isInsertVerified()
public abstract boolean isEagerInsert(java.lang.Object obj)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |