|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.odmg.ImplementationImpl
org.apache.ojb.odmg.ImplementationJTAImpl
public class ImplementationJTAImpl
Implementation of the ODMG Implementation
interface for use in
managed enviroments.
Method Summary | |
---|---|
Transaction |
currentTransaction()
Get the current Transaction for the thread. |
Database |
getDatabase(java.lang.Object obj)
Returns the current used database or null. |
DArray |
newDArray()
Create a new DArray object. |
DBag |
newDBag()
Create a new DBag object. |
DList |
newDList()
Create a new DList object. |
DMap |
newDMap()
Create a new DMap object. |
DSet |
newDSet()
Create a new DSet object. |
EnhancedOQLQuery |
newOQLQuery()
Create a new OQLQuery object. |
Transaction |
newTransaction()
Not supported in managed-environment. |
Methods inherited from class org.apache.ojb.odmg.ImplementationImpl |
---|
getConfigurator, getCurrentPBKey, getObjectId, getOqlCollectionClass, getTxManager, hasOpenTransaction, isImpliciteWriteLocks, isImplicitLocking, isOrdering, newDatabase, setConfigurator, setImpliciteWriteLocks, setImplicitLocking, setImplicitLockingBackward, setOqlCollectionClass, setOrdering, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Database getDatabase(java.lang.Object obj)
ImplementationImpl
getDatabase
in interface Implementation
getDatabase
in class ImplementationImpl
obj
- The object.
Database
that contains the object.public Transaction currentTransaction()
ImplementationImpl
Transaction
for the thread.
currentTransaction
in interface Implementation
currentTransaction
in class ImplementationImpl
Transaction
object or null if there is none.Transaction
public EnhancedOQLQuery newOQLQuery()
ImplementationImpl
OQLQuery
object.
newOQLQuery
in interface Implementation
newOQLQuery
in class ImplementationImpl
OQLQuery
object.OQLQuery
public DList newDList()
ImplementationImpl
DList
object.
newDList
in interface Implementation
newDList
in class ImplementationImpl
DList
object.DList
public DBag newDBag()
ImplementationImpl
DBag
object.
newDBag
in interface Implementation
newDBag
in class ImplementationImpl
DBag
object.DBag
public DSet newDSet()
ImplementationImpl
DSet
object.
newDSet
in interface Implementation
newDSet
in class ImplementationImpl
DSet
object.DSet
public DArray newDArray()
ImplementationImpl
DArray
object.
newDArray
in interface Implementation
newDArray
in class ImplementationImpl
DArray
object.DArray
public DMap newDMap()
ImplementationImpl
DMap
object.
newDMap
in interface Implementation
newDMap
in class ImplementationImpl
DMap
object.DMap
public Transaction newTransaction()
newTransaction
in interface Implementation
newTransaction
in class ImplementationImpl
Transaction
instance.Transaction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |