|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ClassLoaderResolver | |
org.jpox | This package provides classes that are typically client-facing. |
org.jpox.metadata | Provides classes representing the MetaData for files, packages, classes, fields, containers, etc. |
org.jpox.plugin | |
org.jpox.resource | A JCA resource adapter for JPOX. |
org.jpox.store | Definition of the storage of the classes. |
org.jpox.store.expression | This package provides a series of expressions and literals used in the conversion of a JDOQL query into the resultant SQL that is required to be executed in the datastore. |
org.jpox.store.mapping | Package providing mappings for all supported Java types in JPOX. |
org.jpox.store.poid | POID - Persistent Id Generation. |
org.jpox.store.query | Provides implementations of the JDO Query interface, and ways of extracting an Object from the Query result set. |
org.jpox.store.rdbms | Package providing management of the persistence to RDBMS datastores. |
org.jpox.store.rdbms.adapter | Provides mappings of all supported databases to aspects of the database that determines the SQL generation. |
org.jpox.store.rdbms.mapping | Package containing mappings for datastore (JDBC) types. |
org.jpox.store.rdbms.mapping.oracle | Package containing mappings for Oracle datastores, extending on the mappings found in packages org.jpox.store.mapping and org.jpox.store.rdbms.mapping. |
org.jpox.store.rdbms.query | Package providing extensions to the default QueryStatement used to generate all JDOQL queries. |
org.jpox.store.rdbms.request | Provides the mechanism of communicating with the database using JDBC. |
org.jpox.store.rdbms.scostore | This package provides classes defining the (SCO) backing store for various container classes (Collections/Maps) within JPOX. |
org.jpox.store.rdbms.sqlidentifier | This package contains a series of classes defining the names of datastore objects, such as tables, foreign keys, indexes, primary keys etc. |
org.jpox.store.rdbms.table | Provides a series of classes modelling tables and views, firstly in RDBMS, and then extending this to JDO representations. |
org.jpox.store.scostore | Package providing backing store definitions for SCO stores. |
org.jpox.util | Provides utility classes used in the implementation that don't fit in a particular functional part of the system. |
Uses of ClassLoaderResolver in org.jpox |
Classes in org.jpox that implement ClassLoaderResolver | |
class |
JDOClassLoaderResolver
A basic implementation of a ClassLoaderResolver for JDO. |
Fields in org.jpox declared as ClassLoaderResolver | |
protected ClassLoaderResolver |
AbstractPersistenceManager.clr
The ClassLoader resolver to use for class loading issues. |
Methods in org.jpox that return ClassLoaderResolver | |
ClassLoaderResolver |
AbstractPersistenceManager.getClassLoaderResolver()
Accessor for the ClassLoaderResolver |
ClassLoaderResolver |
PersistenceManager.getClassLoaderResolver()
Accessor for the ClassLoader resolver to use in class loading issues. |
ClassLoaderResolver |
PMFContext.getClassLoaderResolver(java.lang.ClassLoader primaryLoader)
Accessor for a ClassLoaderResolver to use in resolving classes. |
Methods in org.jpox with parameters of type ClassLoaderResolver | |
java.lang.Object |
ImplementationCreator.newInstance(java.lang.Class pc,
MetaDataManager mmgr,
ClassLoaderResolver loader)
Constructs an implementation for an interface and instantiates it |
void |
TypeManager.addType(java.lang.String className,
java.lang.String mappingClassName,
java.lang.String scoMutableWrapperType,
boolean dfg,
java.lang.String javaVersion,
boolean dftPersistent,
boolean javaRestricted,
boolean dftEmbedded,
ClassLoaderResolver clr)
Method to add support for a Java class (to some degree). |
Constructors in org.jpox with parameters of type ClassLoaderResolver | |
TypeManager(PluginManager mgr,
ClassLoaderResolver clr)
Constructor initialisation block to load up JPOX's support for type mappings. |
Uses of ClassLoaderResolver in org.jpox.metadata |
Methods in org.jpox.metadata with parameters of type ClassLoaderResolver | |
AbstractClassMetaData |
MetaDataManager.getMetaDataForClass(java.lang.String class_name,
ClassLoaderResolver clr)
Accessor for the MetaData for a class given the name and a loader. |
AbstractClassMetaData |
MetaDataManager.getMetaDataForClass(java.lang.Class c,
ClassLoaderResolver clr)
Accessor for the MetaData for a class. |
InterfaceMetaData |
MetaDataManager.getMetaDataForInterface(java.lang.Class c,
ClassLoaderResolver clr)
Accessor for the MetaData for an interface. |
protected AbstractClassMetaData |
MetaDataManager.getMetaDataForClassOrInterface(java.lang.Class c,
ClassLoaderResolver clr)
Accessor for the MetaData for a class. |
java.lang.String[] |
MetaDataManager.getClassesImplementingInterface(java.lang.String interfaceName,
ClassLoaderResolver clr)
Accessor for the list of names of classes that are declared to implement the specified interface (using <implements> in the MetaData). |
void |
MetaDataManager.addORMDataToClass(java.lang.Class c,
ClassLoaderResolver clr)
Load up and add the O/R mapping info for the specified class to the stored JDO ClassMetaData. |
ClassMetaData |
MetaDataManager.getMetaDataForImplementationOfReference(java.lang.Class referenceClass,
java.lang.Object implValue,
ClassLoaderResolver clr)
Accessor for the MetaData for an implementation of a reference type. |
AbstractPropertyMetaData |
MetaDataManager.getMetaDataForField(java.lang.String class_name,
java.lang.String field_name,
ClassLoaderResolver clr)
Accessor for the MetaData for a field of a class. |
AbstractPropertyMetaData |
MetaDataManager.getMetaDataForField(java.lang.Class c,
ClassLoaderResolver clr,
java.lang.String field_name)
Accessor for the MetaData for a field of a class. |
QueryMetaData |
MetaDataManager.getMetaDataForQuery(java.lang.Class cls,
ClassLoaderResolver clr,
java.lang.String queryName)
Accessor for the MetaData for a named query for a class. |
void |
MetaDataManager.registerPersistentInterface(InterfaceMetaData imd,
java.lang.Class implClass,
ClassLoaderResolver clr)
Method to register a persistent interface and its implementation with the MetaData system. |
SequenceMetaData |
MetaDataManager.getMetaDataForSequence(ClassLoaderResolver clr,
java.lang.String packageSequenceName)
Accessor for the MetaData for a Sequence in a package. |
protected void |
MetaDataManager.initialiseClassMetaData(ClassMetaData cmd,
java.lang.Class cls,
ClassLoaderResolver clr)
Utility to initialise the MetaData for a class, using the specified class. |
protected void |
MetaDataManager.initialiseInterfaceMetaData(InterfaceMetaData imd,
ClassLoaderResolver clr)
Utility to initialise the MetaData for a interface, using the specified class. |
protected void |
MetaDataManager.populateClassesInterfacesInFile(FileMetaData filemd,
ClassLoaderResolver clr)
Convenience method to populate all classes in a Meta-Data file. |
protected FileMetaData |
MetaDataManager.loadMetaDataForClass(java.lang.Class pc_class,
ClassLoaderResolver clr,
java.lang.String metadata_file_modifier,
java.lang.String metadata_file_extension,
boolean populate)
Method to find the Meta-Data file for a specified class. |
java.util.List |
MetaDataManager.getReferencedClassMetaData(AbstractClassMetaData cmd,
java.lang.String dba_vendor_id,
ClassLoaderResolver clr)
Utility to return all ClassMetaData that is referenced from the supplier class. |
protected java.lang.Class |
AbstractClassMetaData.loadClass(ClassLoaderResolver clr)
Load the persistent interface/class |
protected void |
AbstractClassMetaData.determineSuperClassName(ClassLoaderResolver clr,
java.lang.Class cls)
Determine the super PersistenceCapable class. |
protected void |
AbstractClassMetaData.populatePropertyMetaData(ClassLoaderResolver clr,
java.lang.Class cls)
Populate PropertyMetaData |
protected void |
AbstractClassMetaData.determineObjectIdClass(ClassLoaderResolver clr)
Determine the object id class |
abstract void |
AbstractClassMetaData.populate(ClassLoaderResolver clr)
Method to provide the details of the class being represented by this MetaData. |
void |
AbstractPropertyMetaData.populate(ClassLoaderResolver clr,
java.lang.Class fieldType,
int modifiers)
Method to provide the details of the field being represented by this MetaData. |
protected void |
AbstractPropertyMetaData.setRelation(ClassLoaderResolver clr)
Convenience method that sets up the relation type of this field, and the reference to any related field when it is bidirectional. |
int |
AbstractPropertyMetaData.getRelationType(ClassLoaderResolver clr)
Accessor for the relation type for this field. |
AbstractPropertyMetaData |
AbstractPropertyMetaData.getRelatedFieldMetaData(ClassLoaderResolver clr)
Accessor for the FieldMetaData of any related field (where this field is part of a bidirectional relation). |
void |
InterfaceMetaData.populate(ClassLoaderResolver clr)
Method to provide the details of the class being represented by this MetaData. |
protected void |
InterfaceMetaData.populatePropertyMetaData(ClassLoaderResolver clr,
java.lang.Class cls)
Populate PropertyMetaData |
void |
ClassMetaData.populate(ClassLoaderResolver clr)
Method to provide the details of the class being represented by this MetaData. |
protected void |
ClassMetaData.populatePropertyMetaData(ClassLoaderResolver clr,
java.lang.Class cls)
Populate FieldMetaData |
void |
EmbeddedMetaData.populate(ClassLoaderResolver clr)
Method to populate the embedded MetaData. |
void |
ElementMetaData.populate(ClassLoaderResolver clr)
Populate the MetaData. |
void |
AbstractElementMetaData.populate(ClassLoaderResolver clr)
Populate the metadata |
void |
KeyMetaData.populate(ClassLoaderResolver clr)
Populate the MetaData. |
void |
ValueMetaData.populate(ClassLoaderResolver clr)
Populate the MetaData. |
void |
ArrayMetaData.populate(ClassLoaderResolver clr)
Method to populate any defaults, and check the validity of the MetaData. |
void |
CollectionMetaData.populate(ClassLoaderResolver clr)
Method to populate any defaults, and check the validity of the MetaData. |
void |
MapMetaData.populate(ClassLoaderResolver clr)
Method to populate any defaults, and check the validity of the MetaData. |
void |
ImplementsMetaData.populate(ClassLoaderResolver clr)
Method to populate the details of the implements |
boolean |
MetaDataUtils.isValidPrimaryKeyClass(java.lang.Class pkClass,
AbstractClassMetaData cmd,
ClassLoaderResolver clr,
int noOfPkFields)
Utility to check if a primary-key class is valid. |
boolean |
MetaDataUtils.storesFCO(AbstractPropertyMetaData fmd,
ClassLoaderResolver clr)
Convenience method that returns if a field stores a First-Class object (FCO). |
java.lang.String[] |
MetaDataUtils.getImplementationNamesForReferenceField(AbstractPropertyMetaData fmd,
DatastoreFieldRole role,
ClassLoaderResolver clr)
Convenience method to return the class names of the available implementation types for an interface/Object field, given its required role. |
Uses of ClassLoaderResolver in org.jpox.plugin |
Constructors in org.jpox.plugin with parameters of type ClassLoaderResolver | |
PluginManager(ClassLoaderResolver clr)
Constructor |
Uses of ClassLoaderResolver in org.jpox.resource |
Methods in org.jpox.resource that return ClassLoaderResolver | |
ClassLoaderResolver |
PersistenceManagerImpl.getClassLoaderResolver()
Accessor for the ClassLoaderResolver |
Uses of ClassLoaderResolver in org.jpox.store |
Methods in org.jpox.store with parameters of type ClassLoaderResolver | |
protected void |
StoreManager.initialiseAutoStart(ClassLoaderResolver clr)
Method to initialise the auto-start mechanism, loading up the classes from its store into memory so that we start from where we got to last time. |
abstract void |
StoreManager.addClass(java.lang.String className,
ClassLoaderResolver clr)
Method to add a class to the managed list for this datastore manager. |
abstract void |
StoreManager.addClasses(java.lang.String[] classes,
ClassLoaderResolver clr)
Add classes to the persistence model for the datastore. |
abstract void |
StoreManager.removeAllClasses(ClassLoaderResolver clr)
Drops all tables in the schema. |
AbstractClassMetaData[] |
StoreManager.getClassesManagingTableForClass(AbstractClassMetaData cmd,
ClassLoaderResolver clr)
Method to return the class(es) that has a table managing the persistence of the fields of the supplied class. |
java.lang.String |
StoreManager.manageClassForIdentity(OID id,
ClassLoaderResolver clr)
Convenience method to ensure that the class defined by the passed OID is managed by this store. |
java.lang.String |
StoreManager.manageClassForIdentity(javax.jdo.identity.SingleFieldIdentity id,
ClassLoaderResolver clr)
Convenience method to ensure that the class defined by the passed SingleFieldIdentity is managed by this store. |
abstract java.lang.String |
StoreManager.getClassNameForObjectID(java.lang.Object id,
ClassLoaderResolver clr,
PersistenceManager pm)
Returns the class corresponding to the given object JDO ID. |
abstract DatastoreContainerObject |
StoreManager.newJoinDatastoreContainerObject(AbstractPropertyMetaData fmd,
ClassLoaderResolver clr)
Called by Mapping objects to request the creation of a DatastoreObject (table). |
java.util.HashSet |
StoreManager.getSubClassesForClass(java.lang.String className,
boolean includeDescendents,
ClassLoaderResolver clr)
Utility to return the names of the classes that are known subclasses of the provided class. |
DatastoreClass |
StoreManager.getDatastoreClass(java.lang.String className,
ClassLoaderResolver clr)
Returns the primary datastore container serving as backing for the given class. |
AbstractClassMetaData |
StoreManager.getClassWithPrimaryKeyForClass(AbstractClassMetaData cmd,
ClassLoaderResolver clr)
Utility to navigate the inheritance hierarchy to find the base class that defines the primary keys for this tree. |
abstract void |
StoreManager.resolveIdentifierMacro(MacroString.IdentifierMacro im,
ClassLoaderResolver clr)
Resolves an identifier macro. |
abstract CollectionStore |
StoreManager.getBackingStoreForCollection(java.lang.Class instantiatedType,
AbstractPropertyMetaData fmd,
DatastoreObject datastoreTable,
ClassLoaderResolver clr)
Method to return a backing store for a Collection, consistent with this store and the instantiated type. |
abstract MapStore |
StoreManager.getBackingStoreForMap(AbstractPropertyMetaData fmd,
DatastoreObject datastoreTable,
ClassLoaderResolver clr)
Method to return a backing store for a Map, consistent with this store and the instantiated type. |
abstract ArrayStore |
StoreManager.getBackingStoreForArray(AbstractPropertyMetaData fmd,
DatastoreObject datastoreTable,
ClassLoaderResolver clr)
Method to return a backing store for an array, consistent with this store and the instantiated type. |
void |
DatastoreAdapter.loadDatastoreMapping(PluginManager mgr,
ClassLoaderResolver clr)
Load the datastore mappings declared as Plug-in |
QueryExpression |
DatastoreAdapter.newQueryStatement(DatastoreContainerObject container,
ClassLoaderResolver clr)
Accessor for a new query statement. |
QueryExpression |
DatastoreAdapter.newQueryStatement(DatastoreContainerObject container,
DatastoreIdentifier rangeVar,
ClassLoaderResolver clr)
Accessor for a new query statement. |
JavaTypeMapping |
DatastoreAdapter.getMapping(java.lang.Class c,
StoreManager storeMgr,
ClassLoaderResolver clr)
Convenience accessor for the mapping for the specified class. |
JavaTypeMapping |
DatastoreAdapter.getMapping(java.lang.Class c,
boolean serialised,
boolean embedded,
StoreManager storeMgr,
ClassLoaderResolver clr)
Accessor for the mapping for the specified class. |
DatastoreIdentifier |
IdentifierFactory.newTableIdentifierForMetaData(ClassLoaderResolver clr,
ExtendableMetaData md)
Method to return a Table identifier for the specified class or field. |
void |
AbstractDatastoreAdapter.loadDatastoreMapping(PluginManager mgr,
ClassLoaderResolver clr)
Load the datastore mapping declared as Plug-in |
JavaTypeMapping |
AbstractDatastoreAdapter.getMapping(java.lang.Class c,
StoreManager storeMgr,
ClassLoaderResolver clr)
Convenience accessor for the mapping for the specified class. |
JavaTypeMapping |
AbstractDatastoreAdapter.getMapping(java.lang.Class c,
boolean serialised,
boolean embedded,
StoreManager storeMgr,
ClassLoaderResolver clr)
Convenience accessor for the mapping for the specified class. |
abstract QueryExpression |
AbstractDatastoreAdapter.newQueryStatement(DatastoreContainerObject container,
ClassLoaderResolver clr)
|
abstract QueryExpression |
AbstractDatastoreAdapter.newQueryStatement(DatastoreContainerObject container,
DatastoreIdentifier rangeVar,
ClassLoaderResolver clr)
|
static StoreManager |
StoreManagerFactory.getStoreManager(java.lang.String managerClassName,
ClassLoaderResolver clr,
AbstractPersistenceManagerFactory pmf,
java.lang.String userName,
java.lang.String password)
Accessor for the StoreManager. |
Constructors in org.jpox.store with parameters of type ClassLoaderResolver | |
StoreManager(ClassLoaderResolver clr,
AbstractPersistenceManagerFactory pmf,
java.lang.String userName,
java.lang.String password)
Constructor for a new StoreManager. |
Uses of ClassLoaderResolver in org.jpox.store.expression |
Methods in org.jpox.store.expression that return ClassLoaderResolver | |
ClassLoaderResolver |
QueryExpression.getClassLoaderResolver()
Accessor for the ClassLoaderResolver to use with this query statement. |
Uses of ClassLoaderResolver in org.jpox.store.mapping |
Fields in org.jpox.store.mapping declared as ClassLoaderResolver | |
protected ClassLoaderResolver |
EmbeddedMapping.clr
ClassLoader resolver |
Methods in org.jpox.store.mapping with parameters of type ClassLoaderResolver | |
void |
MappingManager.loadDatastoreMapping(PluginManager mgr,
ClassLoaderResolver clr,
java.lang.String vendorId)
Initialise the datastore mapping. |
JavaTypeMapping |
MappingManager.getMapping(java.lang.Class c,
boolean serialised,
boolean embedded,
StoreManager storeMgr,
ClassLoaderResolver clr,
DatastoreAdapter dba)
Accessor for a mapping, for a java type. |
JavaTypeMapping |
MappingManager.getMapping(DatastoreContainerObject table,
AbstractPropertyMetaData fmd,
DatastoreAdapter dba,
ClassLoaderResolver clr)
Accessor for a mapping for a field, mapped to a table |
JavaTypeMapping |
MappingManager.getElementMapping(DatastoreContainerObject table,
AbstractPropertyMetaData fmd,
DatastoreAdapter dba,
ClassLoaderResolver clr)
Accessor for the element mapping for an embedded collection of elements |
JavaTypeMapping |
MappingManager.getKeyMapping(DatastoreContainerObject table,
AbstractPropertyMetaData fmd,
DatastoreAdapter dba,
ClassLoaderResolver clr)
Accessor for the key mapping for an embedded map of keys |
JavaTypeMapping |
MappingManager.getValueMapping(DatastoreContainerObject table,
AbstractPropertyMetaData fmd,
DatastoreAdapter dba,
ClassLoaderResolver clr)
Accessor for the value mapping for an embedded map of values |
void |
AbstractMappingManager.loadDatastoreMapping(PluginManager mgr,
ClassLoaderResolver clr,
java.lang.String vendorId)
Initialise the datastore mapping file. |
JavaTypeMapping |
AbstractMappingManager.getMapping(java.lang.Class c,
boolean serialised,
boolean embedded,
StoreManager storeMgr,
ClassLoaderResolver clr,
DatastoreAdapter dba)
Accessor for the mapping for the specified class. |
JavaTypeMapping |
AbstractMappingManager.getElementMapping(DatastoreContainerObject container,
AbstractPropertyMetaData fmd,
DatastoreAdapter dba,
ClassLoaderResolver clr)
Convenience accessor for the element mapping for a collection/array of PC elements. |
JavaTypeMapping |
AbstractMappingManager.getKeyMapping(DatastoreContainerObject container,
AbstractPropertyMetaData fmd,
DatastoreAdapter dba,
ClassLoaderResolver clr)
Convenience accessor for the key mapping for a map of PC keys. |
JavaTypeMapping |
AbstractMappingManager.getValueMapping(DatastoreContainerObject container,
AbstractPropertyMetaData fmd,
DatastoreAdapter dba,
ClassLoaderResolver clr)
Convenience accessor for the value mapping for a map of PC values. |
JavaTypeMapping |
AbstractMappingManager.getMapping(DatastoreContainerObject datastoreContainer,
AbstractPropertyMetaData fmd,
DatastoreAdapter dba,
ClassLoaderResolver clr)
Accessor for the mapping for the field of the specified table. |
ArrayStore |
ArrayMapping.getBackingStore(ClassLoaderResolver clr)
Accessor for the Store of the contents. |
CollectionStore |
CollectionMapping.getBackingStore(ClassLoaderResolver clr)
Accessor for the Store of the contents. |
protected void |
ReferenceMapping.createColumns(DatastoreContainerObject datastoreContainer,
AbstractPropertyMetaData fmd,
ClassLoaderResolver clr)
Convenience method to create a column for each implementation type of this reference. |
MapStore |
MapMapping.getBackingStore(ClassLoaderResolver clr)
Accessor for the Store of the contents. |
static JavaTypeMapping |
MappingFactory.createMapping(java.lang.Class mappingClass,
DatastoreAdapter dba,
AbstractPropertyMetaData fmd,
DatastoreContainerObject datastoreContainer,
ClassLoaderResolver clr)
Get a new instance of the Mapping using the the DBA, field metadata, and the table managing the field. |
protected void |
PersistenceCapableMapping.prepareDatastoreMapping(ClassLoaderResolver clr)
Method to prepare the PC mapping and add its associated datastore mappings. |
protected void |
SubclassPCMapping.createColumns(DatastoreContainerObject datastoreContainer,
AbstractPropertyMetaData fmd,
ClassLoaderResolver clr)
Convenience method to create a column for each implementation type of this reference. |
Uses of ClassLoaderResolver in org.jpox.store.poid |
Methods in org.jpox.store.poid with parameters of type ClassLoaderResolver | |
PoidGenerator |
PoidManager.createPoidGenerator(ClassLoaderResolver clr,
java.lang.String name,
java.lang.String generatorClassName,
java.util.Properties props)
Method to create a PoidGenerator. |
PoidGenerator |
PoidManager.createPoidGenerator(ClassLoaderResolver clr,
java.lang.String name,
java.lang.String generatorClassName,
java.util.Properties props,
StoreManager storeMgr,
PoidConnectionProvider connectionProvider)
Method to create a PoidGenerator when the generator is datastore based. |
Uses of ClassLoaderResolver in org.jpox.store.query |
Fields in org.jpox.store.query declared as ClassLoaderResolver | |
protected ClassLoaderResolver |
AbstractIteratorStatement.clr
ClassLoader resolver. |
Methods in org.jpox.store.query that return ClassLoaderResolver | |
ClassLoaderResolver |
QueryStatement.getClassLoaderResolver()
Accessor for the class-loader resolver. |
Constructors in org.jpox.store.query with parameters of type ClassLoaderResolver | |
AbstractIteratorStatement(java.lang.Class type,
ClassLoaderResolver clr,
boolean subclasses,
StoreManager storeMgr)
Constructor. |
|
DiscriminatorIteratorStatement(ClassLoaderResolver clr,
java.lang.Class[] candidateTypes,
boolean includeSubclasses,
StoreManager storeMgr,
boolean selectDiscriminator)
Constructor, for a candidate type select. |
|
DiscriminatorIteratorStatement(ClassLoaderResolver clr,
java.lang.Class[] candidateType,
boolean includeSubclasses,
StoreManager storeMgr,
boolean selectDiscriminator,
DatastoreContainerObject selectTable,
JavaTypeMapping selectCandidateMapping,
DatastoreIdentifier candidateTableIdentifier)
Constructor, for a candidate type with a select table. |
|
QueryStatement(DatastoreContainerObject initialTable,
ClassLoaderResolver clr)
Constructor. |
|
QueryStatement(DatastoreContainerObject initialTable,
DatastoreIdentifier initialRangeVar,
ClassLoaderResolver clr)
Constructor. |
|
UnionIteratorStatement(ClassLoaderResolver clr,
java.lang.Class candidateType,
boolean includeSubclasses,
StoreManager storeMgr,
UnionIteratorStatement.AssociationEnd source)
Constructor. |
|
UnionIteratorStatement(ClassLoaderResolver clr,
java.lang.Class candidateType,
boolean includeSubclasses,
StoreManager storeMgr,
UnionIteratorStatement.AssociationEnd source,
boolean withMetadata)
Constructor. |
|
UnionIteratorStatement(ClassLoaderResolver clr,
java.lang.Class candidateType,
boolean includeSubclasses,
StoreManager storeMgr,
UnionIteratorStatement.AssociationEnd source,
java.lang.Boolean withMetadata)
Constructor. |
Uses of ClassLoaderResolver in org.jpox.store.rdbms |
Methods in org.jpox.store.rdbms with parameters of type ClassLoaderResolver | |
void |
RDBMSManager.addClasses(java.lang.String[] classNames,
ClassLoaderResolver clr)
Method to add several (PersistenceCapable) classes to the store manager's set of supported classes. |
void |
RDBMSManager.addClass(java.lang.String className,
ClassLoaderResolver clr)
Method to add a (PersistenceCapable) class to the store manager's set of supported classes. |
void |
RDBMSManager.removeAllClasses(ClassLoaderResolver clr)
Utility to remove all classes that we are managing. |
DatastoreContainerObject |
RDBMSManager.newJoinDatastoreContainerObject(AbstractPropertyMetaData fmd,
ClassLoaderResolver clr)
Called by (container) Mapping objects to request the creation of a DatastoreObject (table). |
CollectionStore |
RDBMSManager.getBackingStoreForCollection(java.lang.Class instantiatedType,
AbstractPropertyMetaData fmd,
DatastoreObject datastoreTable,
ClassLoaderResolver clr)
Method to return a backing store for a Collection, consistent with this store and the instantiated type. |
MapStore |
RDBMSManager.getBackingStoreForMap(AbstractPropertyMetaData fmd,
DatastoreObject datastoreTable,
ClassLoaderResolver clr)
Method to return a backing store for a Map, consistent with this store and the instantiated type. |
ArrayStore |
RDBMSManager.getBackingStoreForArray(AbstractPropertyMetaData fmd,
DatastoreObject datastoreTable,
ClassLoaderResolver clr)
Method to return a backing store for an array, consistent with this store and the instantiated type. |
java.lang.String |
RDBMSManager.getClassNameForObjectID(java.lang.Object id,
ClassLoaderResolver clr,
PersistenceManager pm)
Returns the class corresponding to the given object JDO ID. |
InsertRequest |
RDBMSManager.getInsertRequest(DatastoreClass table,
java.lang.Class cls,
ClassLoaderResolver clr)
Returns a request object that will insert a row in the given table. |
FetchRequest |
RDBMSManager.getFetchRequest(DatastoreClass table,
AbstractPropertyMetaData[] fieldMetaData,
java.lang.Class cls,
ClassLoaderResolver clr)
Returns a request object that will fetch a row from the given table. |
UpdateRequest |
RDBMSManager.getUpdateRequest(DatastoreClass table,
AbstractPropertyMetaData[] fieldMetaData,
java.lang.Class cls,
ClassLoaderResolver clr)
Returns a request object that will update a row in the given table. |
DeleteRequest |
RDBMSManager.getDeleteRequest(DatastoreClass table,
java.lang.Class cls,
ClassLoaderResolver clr)
Returns a request object that will delete a row from the given table. |
void |
RDBMSManager.resolveIdentifierMacro(MacroString.IdentifierMacro im,
ClassLoaderResolver clr)
Resolves an identifier macro. |
Constructors in org.jpox.store.rdbms with parameters of type ClassLoaderResolver | |
RDBMSManager(ClassLoaderResolver clr,
AbstractPersistenceManagerFactory pmf,
java.lang.String userName,
java.lang.String password)
Constructs a new RDBMSManager. |
|
SchemaAutoStarter(RDBMSManager store_mgr,
ClassLoaderResolver clr)
Constructor. |
Uses of ClassLoaderResolver in org.jpox.store.rdbms.adapter |
Methods in org.jpox.store.rdbms.adapter with parameters of type ClassLoaderResolver | |
QueryExpression |
DatabaseAdapter.newQueryStatement(DatastoreContainerObject table,
ClassLoaderResolver clr)
Accessor for a new query statement. |
QueryExpression |
DatabaseAdapter.newQueryStatement(DatastoreContainerObject table,
DatastoreIdentifier rangeVar,
ClassLoaderResolver clr)
Accessor for a new query statement. |
DatastoreAdapter |
RDBMSAdapterFactory.getDatastoreAdapter(ClassLoaderResolver clr,
java.sql.Connection conn,
java.lang.String adapterClassName,
Dictionary dictionary,
PluginManager pluginMgr)
Accessor for an adapter, given a Connection to the datastore. |
protected DatastoreAdapter |
RDBMSAdapterFactory.getNewDatastoreAdapter(ClassLoaderResolver clr,
java.sql.DatabaseMetaData metadata,
java.lang.String adapterClassName,
Dictionary dictionary)
Accessor for the adapter for a specified datastore product. |
Uses of ClassLoaderResolver in org.jpox.store.rdbms.mapping |
Methods in org.jpox.store.rdbms.mapping with parameters of type ClassLoaderResolver | |
void |
OracleRDBMSMappingManager.loadDatastoreMapping(PluginManager mgr,
ClassLoaderResolver clr,
java.lang.String vendorId)
Initialise the datastore mapping file. |
JavaTypeMapping |
OracleRDBMSMappingManager.getMapping(DatastoreContainerObject datastoreContainer,
AbstractPropertyMetaData fmd,
DatastoreAdapter dba,
ClassLoaderResolver clr)
Accessor for the mapping for the field of the specified table. |
Uses of ClassLoaderResolver in org.jpox.store.rdbms.mapping.oracle |
Constructors in org.jpox.store.rdbms.mapping.oracle with parameters of type ClassLoaderResolver | |
OracleArrayMapping(DatastoreAdapter dba,
AbstractPropertyMetaData fmd,
DatastoreContainerObject table,
ClassLoaderResolver clr)
|
|
OracleBitSetMapping(DatastoreAdapter dba,
AbstractPropertyMetaData fmd,
DatastoreContainerObject table,
ClassLoaderResolver clr)
Creates a new OracleStringMapping object. |
|
OracleSerialisedObjectMapping(DatastoreAdapter dba,
AbstractPropertyMetaData fmd,
DatastoreContainerObject table,
ClassLoaderResolver clr)
Creates a new OracleObjectMapping object. |
|
OracleStringMapping(DatastoreAdapter dba,
AbstractPropertyMetaData fmd,
DatastoreContainerObject table,
ClassLoaderResolver clr)
Creates a new OracleStringMapping object. |
Uses of ClassLoaderResolver in org.jpox.store.rdbms.query |
Constructors in org.jpox.store.rdbms.query with parameters of type ClassLoaderResolver | |
Oracle99QueryStatement(DatastoreContainerObject initialTable,
ClassLoaderResolver clr)
QueryStatement constructor |
|
Oracle99QueryStatement(DatastoreContainerObject initialTable,
DatastoreIdentifier initialRangeVar,
ClassLoaderResolver clr)
QueryStatement constructor |
|
OracleQueryStatement(DatastoreContainerObject initialTable,
ClassLoaderResolver clr)
QueryStatement constructor |
|
OracleQueryStatement(DatastoreContainerObject initialTable,
DatastoreIdentifier initialRangeVar,
ClassLoaderResolver clr)
QueryStatement constructor |
|
SAPDBQueryStatement(DatastoreContainerObject initialTable,
ClassLoaderResolver clr)
QueryStatement constructor |
|
SAPDBQueryStatement(DatastoreContainerObject initialTable,
DatastoreIdentifier initialRangeVar,
ClassLoaderResolver clr)
QueryStatement constructor |
Uses of ClassLoaderResolver in org.jpox.store.rdbms.request |
Constructors in org.jpox.store.rdbms.request with parameters of type ClassLoaderResolver | |
InsertRequest(DatastoreClass table,
java.lang.Class cls,
ClassLoaderResolver clr)
Constructor, taking the table. |
|
FetchRequest(DatastoreClass table,
AbstractPropertyMetaData[] fieldMetaData,
java.lang.Class cls,
ClassLoaderResolver clr)
Constructor, taking the table. |
|
UpdateRequest(DatastoreClass table,
AbstractPropertyMetaData[] reqFieldMetaData,
java.lang.Class cls,
ClassLoaderResolver clr)
Constructor, taking the table. |
|
DeleteRequest(DatastoreClass table,
java.lang.Class cls,
ClassLoaderResolver clr)
Constructor, taking the table. |
Uses of ClassLoaderResolver in org.jpox.store.rdbms.scostore |
Fields in org.jpox.store.rdbms.scostore declared as ClassLoaderResolver | |
protected ClassLoaderResolver |
ElementContainerStore.clr
ClassLoader resolver. |
protected ClassLoaderResolver |
JoinMapStore.clr
|
protected ClassLoaderResolver |
MapEntrySetStore.clr
|
Methods in org.jpox.store.rdbms.scostore with parameters of type ClassLoaderResolver | |
protected boolean |
ElementContainerStore.validateElementType(ClassLoaderResolver clr,
java.lang.Object element)
Method to validate an element against the accepted type. |
protected void |
FKMapStore.validateValueType(ClassLoaderResolver clr,
java.lang.Object value)
Utility to validate the type of a value for storing in the Map. |
SetStore |
FKMapStore.keySetStore(ClassLoaderResolver clr)
Accessor for the keys in the Map. |
SetStore |
FKMapStore.valueSetStore(ClassLoaderResolver clr)
Accessor for the values in the Map. |
SetStore |
JoinMapStore.keySetStore(ClassLoaderResolver clr)
Accessor for the keys in the Map. |
SetStore |
JoinMapStore.valueSetStore(ClassLoaderResolver clr)
Accessor for the values in the Map. |
Uses of ClassLoaderResolver in org.jpox.store.rdbms.sqlidentifier |
Methods in org.jpox.store.rdbms.sqlidentifier with parameters of type ClassLoaderResolver | |
DatastoreIdentifier |
RDBMSIdentifierFactory.newTableIdentifierForMetaData(ClassLoaderResolver clr,
ExtendableMetaData md)
Method to return a Table identifier for the specified class or field. |
Uses of ClassLoaderResolver in org.jpox.store.rdbms.table |
Methods in org.jpox.store.rdbms.table with parameters of type ClassLoaderResolver | |
void |
Table.initialize(ClassLoaderResolver clr)
Method to initialise the table. |
void |
Table.preInitialize(ClassLoaderResolver clr)
Pre initialize. |
void |
Table.postInitialize(ClassLoaderResolver clr)
Post initilize. |
void |
TableImpl.preInitialize(ClassLoaderResolver clr)
Pre initilize. |
void |
TableImpl.postInitialize(ClassLoaderResolver clr)
Post initilize. |
boolean |
TableImpl.validateConstraints(java.sql.Connection conn,
boolean autoCreate,
java.util.Collection autoCreateErrors,
ClassLoaderResolver clr)
Method to validate any constraints, and auto create them if required. |
protected java.util.List |
TableImpl.getExpectedForeignKeys(ClassLoaderResolver clr)
Accessor for the expected foreign keys for this table in the datastore. |
protected java.util.Set |
TableImpl.getExpectedIndices(ClassLoaderResolver clr)
Accessor for the indices for this table in the datastore. |
protected java.util.Map |
TableImpl.getSQLAddFKStatements(java.util.Map actualForeignKeysByName,
ClassLoaderResolver clr)
Get SQL statements to add expected Foreign Keys that are not yet at the table. |
protected java.util.Map |
TableImpl.getSQLCreateIndexStatements(java.util.Map actualIndicesByName,
ClassLoaderResolver clr)
Accessor for the CREATE INDEX statements for this table. |
void |
ViewImpl.preInitialize(ClassLoaderResolver clr)
Pre initilize. |
void |
ViewImpl.postInitialize(ClassLoaderResolver clr)
Post initilize. |
void |
SchemaTable.initialize(ClassLoaderResolver clr)
Method to initialise the table. |
void |
SequenceTable.initialize(ClassLoaderResolver clr)
Method to initialise the table. |
void |
ArrayTable.initialize(ClassLoaderResolver clr)
Method to initialise the table definition. |
void |
ElementContainerTable.initialize(ClassLoaderResolver clr)
Method to initialise the table definition. |
protected java.util.List |
ElementContainerTable.getExpectedForeignKeys(ClassLoaderResolver clr)
Accessor for the expected foreign keys for this table. |
protected java.util.Set |
ElementContainerTable.getExpectedIndices(ClassLoaderResolver clr)
Accessor for the indices for this table. |
void |
CollectionTable.initialize(ClassLoaderResolver clr)
Method to initialise the table definition. |
void |
MapTable.initialize(ClassLoaderResolver clr)
Method to initialise the table definition. |
protected java.util.List |
MapTable.getExpectedForeignKeys(ClassLoaderResolver clr)
Accessor for the expected foreign keys for this table. |
protected java.util.Set |
MapTable.getExpectedIndices(ClassLoaderResolver clr)
Accessor for the indices for this table. |
protected abstract void |
AbstractClassTable.initializePK(ClassLoaderResolver clr)
Method to initialise the table primary key field(s). |
protected DatastoreIdentifier |
AbstractClassTable.getDefaultNameForType(java.lang.String className,
ClassLoaderResolver clr)
Accessor for the column name for the specified class. |
void |
ClassTable.preInitialize(ClassLoaderResolver clr)
Pre-initialize. |
void |
ClassTable.initialize(ClassLoaderResolver clr)
Method to initialise the table. |
void |
ClassTable.postInitialize(ClassLoaderResolver clr)
Post initilize. |
void |
ClassTable.manageClass(AbstractClassMetaData theCmd,
ClassLoaderResolver clr)
Method to give management of the persistence of the fields of the specified class to this table. |
protected void |
ClassTable.initializePK(ClassLoaderResolver clr)
Method to initialise the table primary key field(s). |
protected java.util.Set |
ClassTable.getExpectedIndices(ClassLoaderResolver clr)
Accessor for the indices for this table. |
protected java.util.List |
ClassTable.getExpectedForeignKeys(ClassLoaderResolver clr)
Accessor for the expected foreign keys for this table. |
boolean |
ClassTable.validateConstraints(java.sql.Connection conn,
boolean autoCreate,
java.util.Collection autoCreateErrors,
ClassLoaderResolver clr)
Method to validate the constraints of this table. |
void |
ClassView.initialize(ClassLoaderResolver clr)
Method to initialise the view. |
void |
ClassView.postInitialize(ClassLoaderResolver clr)
Post initilize. |
static DatastoreField |
ColumnCreator.createAdapterColumn(JavaTypeMapping adapterMapping,
StoreManager storeMgr,
ClassLoaderResolver clr,
DatastoreContainerObject table,
ColumnMetaData colmd,
boolean pk)
Convenience method to add the column for an adapter primary-key mapping. |
static JavaTypeMapping |
ColumnCreator.createColumnsForJoinTables(java.lang.Class javaType,
AbstractPropertyMetaData fmd,
ColumnMetaData[] columnMetaData,
StoreManager storeMgr,
DatastoreContainerObject table,
boolean primaryKey,
boolean nullable,
boolean serialised,
boolean embedded,
DatastoreFieldRole role,
ClassLoaderResolver clr,
JavaTypeMapping adapterColumnMapping,
boolean adapterColumnMandatory)
Method to create the required columns (and mapping if necessary) for a field |
static void |
ColumnCreator.createColumnsForFieldUsingSubclassTable(JavaTypeMapping mapping,
DatastoreContainerObject table,
AbstractPropertyMetaData fmd,
ClassLoaderResolver clr)
Create columns for a field that uses subclass-table inheritance and where we want to have a FK for each subclass with its own table. |
static void |
ColumnCreator.createColumnsForFieldUsingReference(JavaTypeMapping mapping,
DatastoreContainerObject table,
AbstractPropertyMetaData fmd,
ClassLoaderResolver clr,
boolean embedded)
Create columns for reference (Object/interface) fields. |
void |
ListTable.initialize(ClassLoaderResolver clr)
Method to initialise the table definition. |
void |
ProbeTable.initialize(ClassLoaderResolver clr)
Method to initialise the table. |
void |
SecondaryTable.preInitialize(ClassLoaderResolver clr)
Pre initilize. |
void |
SecondaryTable.postInitialize(ClassLoaderResolver clr)
Post initilize. |
void |
SecondaryTable.initialize(ClassLoaderResolver clr)
Method to initialise the table. |
protected void |
SecondaryTable.initializePK(ClassLoaderResolver clr)
Method to initialise the primary key of this table. |
void |
SetTable.initialize(ClassLoaderResolver clr)
Method to initialise the table definition. |
static java.util.Collection |
TableUtils.getForeignKeysForReferenceField(JavaTypeMapping fieldMapping,
AbstractPropertyMetaData fmd,
boolean autoMode,
StoreManager storeMgr,
ClassLoaderResolver clr)
Convenience method to add foreign-keys for the specified reference field. |
static ForeignKey |
TableUtils.getForeignKeyForPCField(JavaTypeMapping fieldMapping,
AbstractPropertyMetaData fmd,
boolean autoMode,
StoreManager storeMgr,
ClassLoaderResolver clr)
Convenience method to add a foreign key for a PC field. |
Constructors in org.jpox.store.rdbms.table with parameters of type ClassLoaderResolver | |
ClassTable(DatastoreIdentifier tableName,
ClassMetaData cmd,
RDBMSManager storeMgr,
ClassLoaderResolver clr)
Constructor. |
|
ClassView(DatastoreIdentifier tableName,
ClassMetaData cmd,
RDBMSManager storeMgr,
ClassLoaderResolver clr)
Constructor for class view. |
Uses of ClassLoaderResolver in org.jpox.store.scostore |
Methods in org.jpox.store.scostore with parameters of type ClassLoaderResolver | |
SetStore |
MapStore.keySetStore(ClassLoaderResolver clr)
Accessor for the keys in the Map. |
SetStore |
MapStore.valueSetStore(ClassLoaderResolver clr)
Accessor for the values in the Map. |
Uses of ClassLoaderResolver in org.jpox.util |
Methods in org.jpox.util with parameters of type ClassLoaderResolver | |
java.lang.String |
MacroString.substituteMacros(MacroString.MacroHandler mh,
ClassLoaderResolver clr)
Utility to substitute macros using the supplier handler. |
java.lang.Class |
Imports.resolveClassDeclaration(java.lang.String classDecl,
ClassLoaderResolver clr,
java.lang.ClassLoader primaryClassLoader)
Utility to resolve a class declaration. |
static boolean |
ClassUtils.typesAreCompatible(java.lang.Class cls1,
java.lang.String clsName2,
ClassLoaderResolver clr)
Convenience method to return if two types are compatible. |
static boolean |
ClassUtils.classesAreDescendents(ClassLoaderResolver clr,
java.lang.String class_name_1,
java.lang.String class_name_2)
Method to check if 2 classes are direct descendents. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |