org.exolab.castor.jdo.engine
public class GlobalDatabaseImpl extends AbstractDatabaseImpl implements Synchronization
Version: $Revision: 5951 $ $Date: 2006-04-10 16:39:24 -0600 (Mon, 10 Apr 2006) $
Field Summary | |
---|---|
boolean | _isPoolInUseForGlobalTransactions
Flag to indicate whether Database instances should be cached on a per transaction base. |
Constructor Summary | |
---|---|
GlobalDatabaseImpl(String dbName, int lockTimeout, CallbackInterceptor callback, InstanceFactory instanceFactory, Transaction transaction, ClassLoader classLoader, boolean autoStore, boolean isPoolInUseForGlobalTransactions)
Creates an instance of this class. |
Method Summary | |
---|---|
void | afterCompletion(int status) |
void | beforeCompletion() |
void | begin() |
void | close() |
void | commit() |
protected void | finalize()
Overrides Object.finalize().
|
Connection | getJdbcConnection() |
void | rollback() |
void | setTxMap(TxDatabaseMap txMap) |
Parameters: dbName Database name lockTimeout Lock timeout. callback Callback interceptors. instanceFactory Instance factory to use. transaction Current XA transaction. classLoader Current class loader. autoStore True if auto-storing is enabled. isPoolInUseForGlobalTransactions True if Database instanced should be cached.
Throws: DatabaseNotFoundException If the specified database cannot be found.
See Also: javax.transaction.Synchronization#afterCompletion(int)
UNKNOWN:
See Also: javax.transaction.Synchronization#beforeCompletion()
UNKNOWN:
See Also: begin
UNKNOWN:
See Also: close
UNKNOWN:
See Also: commit
UNKNOWN:
See Also: java.lang.Object#finalize()
See Also: getJdbcConnection
UNKNOWN:
See Also: rollback
UNKNOWN: