Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ojb.server.lockstrategy.* (6)ojb.server.states.* (8)

ojb.server: Javadoc index of package ojb.server.


Package Samples:

ojb.server.states
ojb.server.lockstrategy

Classes:

TransactionAware: TransactionAware is an interface that can be implemented to provide hooks into the Transaction interface provided by ObJectBridge. Only objects which have a write lock acquired on them can participate in a transaction. To kill a transaction, implement beforeCommit() and throw a TransactionAbortedException. This will force the entire transaction to rollback. To rebuild an object after a rollback use the afterAbort() call. This is a good place to populate transient or other variables. beforeAbort and afterCommit are there for informational purposes. Here are some common ways you can expect this interface ...
TxResource: TxResource is a transactional resource. This is an interface which can be used to join in with a transaction. Basically, the ObjectTransactionWrapper is a resource, there will also be a JDBC resource, and potentially many others. It is assumed that one resource may be able to manage multiple objects.
OJB: Facade to the persistence ObjectServer system. Implements the factory interface for a particular ODMG implementation. Right now the objectserver is only a partial odmg implementation. Main interest here is transaction handling. So there are still some noops in the following code.
NamedRootsMap: ODMG NamedRoots implementation. Right now this map is not under transaction management. Is behaves like a globally avalaible Map. I don't know if ODMG specifies full transactional access for named roots. But even if specified I believe it's not really necessary.
JDBCResource: JDBCResource is an implementation of TxResource which manages objects within a single database resources. (All objects that would normally go to the same database are managed by this thinger.)
TransactionTable: TransactionTable provides a mapping between the calling thread and the Transaction it is currently using. If the transaction isn't associate, it will return NULL.
StateOldClean: this state represents old Objects (i.e. already persistent but not changed during tx) --> no need to do anything for commit or rollback
RWLockFactory: Title: ObJectBridge Description: Object Relational Mapping tool Copyright: Copyright (c) 2000 Company:
ObjectModification: an ObjectModification object is associated with each Object touched by a transaction. It tracks all modifications.
StateOldDelete: this state represents old objects which have been marked for deletion during tx.
StateNewDelete: this state represents new objects which have been mrked for deletion during tx.
ModificationState: Describes an objects transactional state regarding commiting and rollbacking
StateNewClean: this state represents new objects which have not been altered during tx.
StateOldDirty: this state represents old objects which have been altered during tx.
StateNewDirty: this state represents new objects which have been altered during tx.
IPObject: defines the basic behaviour of Persistence capable objects
TransactionImpl: Implementation of Transaction for org.odmg.Transaction.
PObject: Baseclass for persistence capable classes.
ObjectStateTable
DatabaseImpl
ObjectTransactionWrapper
TransactionPool
LockManager
RWReadUncommittedStrategy
RWReadCommittedStrategy

Home | Contact Us | Privacy Policy | Terms of Service