|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use LockEngine | |
| org.castor.jdo.engine | |
| org.castor.persist | |
| org.exolab.castor.jdo | The Java Data Objects API
Version: $Revision: 6216 $ $Date: 2005-04-21 14:21:10 -0600 (Thu, 21 Apr 2005) $
Author: Assaf Arkin
The class JDOManager provides the Castor JDO engine used for
obtaining a database connection. |
| org.exolab.castor.jdo.engine | Implementation of the Castor JDO engine. |
| org.exolab.castor.jdo.oql | |
| org.exolab.castor.persist | The Castor persistence engine handles object persistence, object caching, transaction concurrency and locking. |
| Uses of LockEngine in org.castor.jdo.engine |
| Methods in org.castor.jdo.engine that return LockEngine | |
LockEngine |
AbstractConnectionFactory.getEngine()
Get the LockEngine only available after initialization. |
| Uses of LockEngine in org.castor.persist |
| Methods in org.castor.persist with parameters of type LockEngine | |
java.sql.Connection |
AbstractTransactionContext.getConnection(LockEngine engine)
Return an open connection for the specified engine. Only one connection should be created for a given engine in the same transaction. |
protected abstract java.sql.Connection |
AbstractTransactionContext.createConnection(LockEngine engine)
|
DbMetaInfo |
AbstractTransactionContext.getConnectionInfo(LockEngine engine)
Returns meta-data related to the RDBMS used. |
QueryResults |
AbstractTransactionContext.query(LockEngine engine,
PersistenceQuery query,
org.exolab.castor.mapping.AccessMode accessMode,
boolean scrollable)
Perform a query using the query mechanism with the specified access mode. The query is performed in this transaction, and the returned query results can only be used while this transaction is open. It is assumed that the query mechanism is compatible with the persistence engine. |
boolean |
AbstractTransactionContext.isLocked(java.lang.Class cls,
Identity identity,
LockEngine lockEngine)
Returns true if the object given is locked. |
protected java.sql.Connection |
GlobalTransactionContext.createConnection(LockEngine engine)
|
protected java.sql.Connection |
LocalTransactionContext.createConnection(LockEngine engine)
|
java.lang.Object |
ObjectTracker.getObjectForOID(LockEngine engine,
OID oid,
boolean allowReadOnly)
Retrieve the object for a given OID. |
void |
ObjectTracker.trackOIDChange(java.lang.Object obj,
LockEngine engine,
OID oldoid,
OID newoid)
Record changes to an OID by re-tracking the OID information. |
void |
ObjectTracker.setOIDForObject(java.lang.Object obj,
LockEngine engine,
OID oid)
For a given lockengine and OID, set the object in the maps. |
void |
ObjectTracker.removeOIDForObject(LockEngine engine,
OID oid)
For a given lockengine and OID, remove references to an object in the maps. |
java.sql.Connection |
TransactionContext.getConnection(LockEngine engine)
Return an open connection for the specified engine. |
DbMetaInfo |
TransactionContext.getConnectionInfo(LockEngine engine)
Returns meta-data related to the RDBMS used. |
QueryResults |
TransactionContext.query(LockEngine engine,
PersistenceQuery query,
org.exolab.castor.mapping.AccessMode accessMode,
boolean scrollable)
Perform a query using the query mechanism with the specified access mode. |
boolean |
TransactionContext.isLocked(java.lang.Class cls,
Identity identity,
LockEngine lockEngine)
Returns true if the object given is locked. |
| Uses of LockEngine in org.exolab.castor.jdo |
| Constructors in org.exolab.castor.jdo with parameters of type LockEngine | |
CacheManager(Database db,
TransactionContext transactionContext,
LockEngine lockEngine)
Creates an instance of this class. |
|
| Uses of LockEngine in org.exolab.castor.jdo.engine |
| Methods in org.exolab.castor.jdo.engine that return LockEngine | |
(package private) LockEngine |
AbstractDatabaseImpl.getLockEngine()
Returns the LockEngine in use by this database instance. |
| Uses of LockEngine in org.exolab.castor.jdo.oql |
| Constructors in org.exolab.castor.jdo.oql with parameters of type LockEngine | |
ParseTreeWalker(LockEngine dbEngine,
ParseTreeNode parseTree,
java.lang.ClassLoader classLoader,
DbMetaInfo dbInfo)
Creates a new parse tree walker. |
|
| Uses of LockEngine in org.exolab.castor.persist |
| Methods in org.exolab.castor.persist that return LockEngine | |
LockEngine |
ClassMolder.getLockEngine()
Get the LockEngine which this ClassMolder belongs to. |
LockEngine |
FieldMolder.getFieldLockEngine()
|
LockEngine |
PersistenceEngineFactory.createEngine(ConnectionFactory connectionFactory,
org.exolab.castor.xml.ClassDescriptorResolver cdResolver,
PersistenceFactory persistenceFactory)
Creates and returns a new persistence engine. |
LockEngine |
PersistenceInfoGroup.getLockEngine()
|
| Methods in org.exolab.castor.persist with parameters of type LockEngine | |
static java.util.Vector |
ClassMolderHelper.resolve(org.exolab.castor.xml.ClassDescriptorResolver cdResolver,
LockEngine lock,
PersistenceFactory factory)
Resolve and construct all the ClassMolders given a MappingLoader. |
| Constructors in org.exolab.castor.persist with parameters of type LockEngine | |
ClassMolder(DatingService ds,
org.exolab.castor.mapping.loader.AbstractMappingLoader loader,
LockEngine lock,
org.exolab.castor.mapping.ClassDescriptor clsDesc,
Persistence persist)
Creates an instance of this class. |
|
PersistenceInfoGroup(LockEngine[] engines)
|
|
QueryResults(TransactionContext tx,
LockEngine engine,
PersistenceQuery query,
org.exolab.castor.mapping.AccessMode accessMode,
Database db)
|
|
XAResourceImpl(LockEngine engine,
XAResourceSource xaSource)
|
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||