|
|||||||||
| Home >> All >> ojb >> [ server overview ] | PREV NEXT | ||||||||
A
- abort() - Method in class ojb.server.JDBCResource
- Abort should rollback the existing transaction on the database.
- abort() - Method in class ojb.server.ObjectTransactionWrapper
- abort() - Method in class ojb.server.TransactionImpl
- Abort and close the transaction.
- abort() - Method in interface ojb.server.TxResource
- afterAbort() - Method in class ojb.server.JDBCResource
- afterAbort() - Method in class ojb.server.ObjectTransactionWrapper
- afterAbort() - Method in interface ojb.server.TransactionAware
- afterAbort will be called after a transaction has been aborted.
- afterCommit() - Method in class ojb.server.JDBCResource
- afterCommit() - Method in class ojb.server.ObjectTransactionWrapper
- afterCommit() - Method in interface ojb.server.TransactionAware
- afterCommit is called only after a successful commit has taken place.
- afterImage - Variable in class ojb.server.ObjectTransactionWrapper
- allLocks - Variable in class ojb.server.LockManager
- HashMap containing all locks already given out.
B
- beforeAbort() - Method in class ojb.server.JDBCResource
- beforeAbort() - Method in class ojb.server.ObjectTransactionWrapper
- beforeAbort() - Method in interface ojb.server.TransactionAware
- beforeAbort is called before a transaction is aborted.
- beforeCommit() - Method in class ojb.server.JDBCResource
- beforeCommit should: Establish a connection to the database.
- beforeCommit() - Method in class ojb.server.ObjectTransactionWrapper
- We need to implement the Two-Phase Commit protocol.
- beforeCommit() - Method in interface ojb.server.TransactionAware
- beforeCommit will give an object a chance to kill a transaction before it is committed.
- beforeImage - Variable in class ojb.server.ObjectTransactionWrapper
- beforeImage holds a mapping between field names and values at the start of the transaction.
- begin() - Method in class ojb.server.TransactionImpl
- Start a transaction.
- bind(Object, String) - Method in class ojb.server.DatabaseImpl
- Associate a name with an object and make it persistent.
- broker - Variable in class ojb.server.DatabaseImpl
C
- checkpoint() - Method in class ojb.server.ObjectStateTable
- perfom checkpoint for all tx-state in the table
- checkpoint() - Method in class ojb.server.TransactionImpl
- Commit the transaction, but reopen the transaction, retaining all locks.
- clear() - Method in class ojb.server.NamedRootsMap
- clear the NamedRoots map and delete it from disk
- close() - Method in class ojb.server.DatabaseImpl
- Close the database.
- commit() - Method in class ojb.server.JDBCResource
- Commit should commit the existing queries to the database.
- commit() - Method in class ojb.server.ObjectStateTable
- perform commit on all tx-states
- commit() - Method in class ojb.server.ObjectTransactionWrapper
- commit() - Method in class ojb.server.TransactionImpl
- Commit and close the transaction.
- commit() - Method in interface ojb.server.TxResource
- conx - Variable in class ojb.server.JDBCResource
- conxDesc - Variable in class ojb.server.JDBCResource
- curDB - Variable in class ojb.server.TransactionImpl
- reference to the currently opened database
- currentDatabase - Variable in class ojb.server.OJB
- the currently active Database
- currentTransaction() - Method in class ojb.server.OJB
- Get the current
Transactionfor the thread.
D
- DatabaseImpl - class ojb.server.DatabaseImpl.
- DatabaseImpl() - Constructor for class ojb.server.DatabaseImpl
- Creates new DatabaseImpl
- deletePersistent(Object) - Method in class ojb.server.DatabaseImpl
- Deletes an object from the database.
- doAbort() - Method in class ojb.server.TransactionImpl
- Do the Aborts, but don't release the locks.
- doClose() - Method in class ojb.server.TransactionImpl
- Close a transaction and do all the cleanup associated with it.
- doCommit() - Method in class ojb.server.TransactionImpl
- Do the Commits, but don't release the locks.
- dr - Variable in class ojb.server.TransactionImpl
- Used to store the DescriptorRepository.
G
- get(String) - Method in class ojb.server.NamedRootsMap
- lookup key in map.
- get(Object) - Method in class ojb.server.ObjectStateTable
- retrieve an objects ObjectModification state from the hashtable
- get(Thread) - Method in class ojb.server.TransactionTable
- Retreive a Transaction associated with a thread.
- getCurrentTransaction() - Static method in class ojb.server.TransactionPool
- returns the transaction currently bound to the active thread.
- getDatabase(Object) - Method in class ojb.server.OJB
- Get the
Databasethat contains the objectobj. - getInstance() - Static method in class ojb.server.LockManager
- returns the singleton instance
- getInstance() - Static method in class ojb.server.OJB
- getLock(Object) - Method in class ojb.server.LockManager
- getMap() - Method in class ojb.server.ObjectTransactionWrapper
- getMap() will return the image of the Object.
- getNamedRootsMap() - Method in class ojb.server.DatabaseImpl
- Insert the method's description here.
- getObject() - Method in class ojb.server.ObjectTransactionWrapper
- Simple maintenance methods.
- getObjectId(Object) - Method in class ojb.server.OJB
- Get a
Stringrepresentation of the object's identifier. - getTransaction(DatabaseImpl) - Static method in class ojb.server.TransactionPool
- Gets the Transaction attribute of the TransactionPool class
I
- IPObject - interface ojb.server.IPObject.
- defines the basic behaviour of Persistence capable objects
- isOpen() - Method in class ojb.server.TransactionImpl
- Determine whether the transaction is open or not.
J
- JDBCResource - class ojb.server.JDBCResource.
- JDBCResource is an implementation of TxResource which manages objects within a single database resources.
- JDBCResource(JdbcConnectionDescriptor) - Constructor for class ojb.server.JDBCResource
- join() - Method in class ojb.server.TransactionImpl
- Attach the caller's thread to this
Transactionand detach the thread from any formerTransactionthe thread may have been associated with.
L
- LockManager - class ojb.server.LockManager.
- LockManager() - Constructor for class ojb.server.LockManager
- LockManager constructor comment.
- leave() - Method in class ojb.server.TransactionImpl
- Detach the caller's thread from this
Transaction, but do not attach the thread to anotherTransaction. - load() - Method in class ojb.server.NamedRootsMap
- load the NamedRoots map from disk
- lock(Object, int) - Method in class ojb.server.TransactionImpl
- Upgrade the lock on the given object to the given lock mode.
- lookup(String) - Method in class ojb.server.DatabaseImpl
- Lookup an object via its name.
M
- m_table - Variable in class ojb.server.TransactionTable
- the internal Hashtable mapping Transactions to threads
- makePersistent(Object) - Method in class ojb.server.DatabaseImpl
- Make a transient object durable in the database.
- manage(Object) - Method in class ojb.server.JDBCResource
- manage(Object) - Method in class ojb.server.ObjectTransactionWrapper
- Manage an object.
- manage(Object) - Method in interface ojb.server.TxResource
- map - Variable in class ojb.server.NamedRootsMap
- the internally used Properties map
- markModified(String) - Method in interface ojb.server.IPObject
- marks Object as dirty, used in setters
- markModified(String) - Method in class ojb.server.PObject
- marks Object as dirty, used in setters
- markModified(Object, String) - Method in class ojb.server.TransactionImpl
- marks an object as dirty
- markNewClean() - Method in class ojb.server.PObject
- marks Object as new and clean, used in Contructors
- markNewClean(Object) - Method in class ojb.server.TransactionImpl
- marks an object as new.
- markOldClean() - Method in class ojb.server.PObject
- marks Object as Old and clean, used after DB Lookup in factory-methods
- markOldClean(Object) - Method in class ojb.server.TransactionImpl
- marks an object as old clean
- myObj - Variable in class ojb.server.ObjectTransactionWrapper
- myObj holds the object we are wrapping.
N
- NamedRootsMap - class ojb.server.NamedRootsMap.
- ODMG NamedRoots implementation.
- NamedRootsMap(String) - Constructor for class ojb.server.NamedRootsMap
- returns a NamedRootsMap.
- name - Variable in class ojb.server.NamedRootsMap
- filename for disk persistence
- newDArray() - Method in class ojb.server.OJB
- Create a new
DArrayobject. - newDBag() - Method in class ojb.server.OJB
- Create a new
DBagobject. - newDList() - Method in class ojb.server.OJB
- Create a new
DListobject. - newDMap() - Method in class ojb.server.OJB
- Create a new
DMapobject. - newDSet() - Method in class ojb.server.OJB
- Create a new
DSetobject. - newDatabase() - Method in class ojb.server.OJB
- Create a new
Databaseobject. - newOQLQuery() - Method in class ojb.server.OJB
- Create a new
OQLQueryobject. - newTransaction() - Method in class ojb.server.OJB
- Create a
Transactionobject and associate it with the current thread. - nrm - Variable in class ojb.server.DatabaseImpl
O
- OJB - class ojb.server.OJB.
- Facade to the persistence ObjectServer system.
- OJB() - Constructor for class ojb.server.OJB
- ObjectStateTable - class ojb.server.ObjectStateTable.
- ObjectStateTable() - Constructor for class ojb.server.ObjectStateTable
- Creates new ObjectStateTable
- ObjectTransactionWrapper - class ojb.server.ObjectTransactionWrapper.
- ObjectTransactionWrapper() - Constructor for class ojb.server.ObjectTransactionWrapper
- Create a new wrapper, but we can't manage anything yet.
- ObjectTransactionWrapper(Object) - Constructor for class ojb.server.ObjectTransactionWrapper
- Create a wrapper by providing an Object.
- objectStateTable - Variable in class ojb.server.TransactionImpl
- the internal table containing all Objects "touched" by this tx and their respective transactional state
- objectsToManage - Variable in class ojb.server.JDBCResource
- ojb.server - package ojb.server
- open(String, int) - Method in class ojb.server.DatabaseImpl
- Open the named database with the specified access mode.
P
- PObject - class ojb.server.PObject.
- Baseclass for persistence capable classes.
- PObject() - Constructor for class ojb.server.PObject
- Creates new PObject
- put(String, Identity) - Method in class ojb.server.NamedRootsMap
- put a serialized verion of oid into the map
- put(Object, ObjectModification) - Method in class ojb.server.ObjectStateTable
- store an objects transactionalstate into the Hashtable
- put(Thread, Transaction) - Method in class ojb.server.TransactionTable
- Store the Thread/Transaction pair in the TransactionTable
R
- remove(Object) - Method in class ojb.server.ObjectStateTable
- remove an objects entry from the Hashtable
- remove(Thread) - Method in class ojb.server.TransactionTable
- Remove the thread from the associated transaction.
- removeLock(Object, int) - Method in class ojb.server.TransactionImpl
- rollback() - Method in class ojb.server.ObjectStateTable
- perform commit on all tx-states
S
- setCurrentDatabase(DatabaseImpl) - Method in class ojb.server.OJB
- setFields(Map) - Method in class ojb.server.ObjectTransactionWrapper
- setFields sets the fields on the object.
- store() - Method in class ojb.server.NamedRootsMap
- make the NamedRoots map persistent to disk
T
- TransactionAware - interface ojb.server.TransactionAware.
- TransactionAware is an interface that can be implemented to provide hooks into the Transaction interface provided by ObJectBridge.
- TransactionImpl - class ojb.server.TransactionImpl.
- Implementation of Transaction for org.odmg.Transaction.
- TransactionImpl(TransactionTable, DatabaseImpl) - Constructor for class ojb.server.TransactionImpl
- Creates new Transaction
- TransactionPool - class ojb.server.TransactionPool.
- TransactionPool() - Constructor for class ojb.server.TransactionPool
- TransactionTable - class ojb.server.TransactionTable.
- TransactionTable provides a mapping between the calling thread and the Transaction it is currently using.
- TransactionTable() - Constructor for class ojb.server.TransactionTable
- Creates new TransactionTable
- TxResource - interface ojb.server.TxResource.
- TxResource is a transactional resource.
- table - Variable in class ojb.server.ObjectStateTable
- the internal table mapping Objects to their ObjectModification
- tryLock(Object, int) - Method in class ojb.server.TransactionImpl
- Upgrade the lock on the given object to the given lock mode.
- txAbort() - Method in class ojb.server.NamedRootsMap
- abort transaction on NamedRoots map
- txBegin() - Method in class ojb.server.NamedRootsMap
- begin a tranaction on NamedRoots map
- txCommit() - Method in class ojb.server.NamedRootsMap
- commit a transaction on NamedRoots
- txTable - Variable in class ojb.server.TransactionImpl
- Internal table which provides mapping between threads and transactions.
- tx_table - Static variable in class ojb.server.TransactionPool
- the internal table containing all transactions and their respective threads
U
- unbind(String) - Method in class ojb.server.DatabaseImpl
- Disassociate a name with an object
- unbind(String) - Method in class ojb.server.NamedRootsMap
- remove an entry from the NamedRoots map
W
- writeObjectList - Variable in class ojb.server.TransactionImpl
- writeObjectList contains all the ObjectTransactionWrappers.
_
- _db - Static variable in class ojb.server.PObject
- reference to the database facade
- _debug - Static variable in class ojb.server.ObjectStateTable
- debug flag
- _instance - Static variable in class ojb.server.LockManager
- the singleton instance
- _instance - Static variable in class ojb.server.OJB
- the singleton instance
- _isOpen - Variable in class ojb.server.TransactionImpl
- Determine the state.
A B C D G I J L M N O P R S T U W _
|
|||||||||
| Home >> All >> ojb >> [ server overview ] | PREV NEXT | ||||||||