org.jpox |
This package provides classes that are typically client-facing. That is, they are used as the primary interface
to JPOX "core".
|
Java Source File Name | Type | Comment |
ClassConstants.java | Class | |
ClassLoaderResolver.java | Interface | Class to allow resolution and loading of classes in a persistence framework.
Implementations are to define the rules for resolving the classes. |
ClassNameConstants.java | Class | Constants with classes names (class created to reduce overhead on calling Class.class.getName() *performance*
Make sure this class is initialized when the PMF is initialized. |
ConnectionFactory.java | Interface | Factory for connections to the datastore. |
ConnectionFactoryRegistry.java | Class | Registry for connection factories for this ObjectManagerFactory. |
ConnectionManager.java | Interface | Manager of connections for an OMF, allowing ManagedConnection pooling, enlistment in transaction.
The pool caches one connection per ObjectManager.
The "allocateConnection" method can create connections and enlist them (like most normal persistence operations need)
or create a connection and return it without enlisting it into a transaction, for example the connections used to
generate object identity, create the database schema or obtaining the schema metadata.
Connections can be locked per ObjectManager basis. |
ConnectionManagerImpl.java | Class | Manager of connections for an OMF, allowing ManagedConnection pooling, enlistment in transaction. |
FetchGroup.java | Interface | Representation of a FetchGroup for a class. |
FetchGroupImpl.java | Class | Group of fields for fetching, to be part of a FetchPlan. |
FetchPlan.java | Class | FetchPlan for fields for use within JPOX Core. |
ImplementationCreator.java | Interface | Create instances of PersistenceCapable objects. |
JDOClassLoaderResolver.java | Class | A basic implementation of a ClassLoaderResolver for JDO. |
JTATransactionImpl.java | Class | A transaction that is synchronized with a Java Transaction Service (JTA) transaction.
Works only in a J2EE environments where a TranactionManager is present
When this feature is turned on, transactions must be controlled using javax.transaction.UserTransaction,
not e.g. |
ManagedConnection.java | Interface | Wrapper for a connection to the datastore, allowing management. |
ManagedConnectionResourceListener.java | Interface | Listener for the relation between a ManagedConnection and a resource using that ManagedConnection.
The resource often needs to know when the ManagedConnection is going to be closed. |
ObjectManager.java | Interface | Definition of an ObjectManager. |
ObjectManagerFactoryImpl.java | Class | ObjectManagerFactory responsible for creation of ObjectManagers for persistence of objects to datastores. |
ObjectManagerHelper.java | Class | Helper methods for accessing the ObjectManager for particular objects. |
ObjectManagerImpl.java | Class | Representation of an ObjectManager.
An object manager provides management for the persistence of objects into a datastore
and the retrieval of these objects using various methods. |
OMFContext.java | Class | Represents the context of an ObjectManagerFactory, holding state information and components that it needs
to perform its task. |
PersistenceConfiguration.java | Class | Class providing configuration for persistence. |
PersistenceManagerFactoryImpl.java | Class | Implementation of a JDO PersistenceManagerFactory. |
ResourceType.java | Class | Representation of a resource type. |
SchemaTool.java | Class | JPOX SchemaTool providing an interface for the maintenance of schemas. |
SchemaToolTask.java | Class | SchemaTool Ant Task. |
StateManager.java | Interface | StateManager for JPOX persistent objects. |
Transaction.java | Interface | Representation of a transaction within JPOX. |
TransactionEventListener.java | Interface | Listener of events raised on transaction begin, commit and rollback. |
TransactionImpl.java | Class | Implementation of a transaction for a datastore. |
TypeManager.java | Class | Registry of type support within JPOX. |
UserTransaction.java | Interface | UserTransaction is the interface exposed by JPOX to User Applications.
It allows proprietary JPOX extensions to be used by user applications.
To exemplify the usage of this interface, the below is a JDO snippet:
Transaction tx = pm.currentTransaction();
((UserTransaction)tx).setUseUpdateLock(true);
This interface does not make any distinction between user APIs, such as
JDO or JPA, neither the datastores, such as RDBMS or DB4O. |