|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of MappingException in org.castor.cpa.jpa.info |
|---|
| Methods in org.castor.cpa.jpa.info that throw MappingException | |
|---|---|
static ClassInfo |
ClassInfoBuilder.buildClassInfo(Class<?> type)
Builds a new ClassInfo describing the given Class. |
static void |
InfoToDescriptorConverter.convert(ClassInfo classInfo,
ClassDescriptorResolver cdr,
ClassDescriptorImpl descriptor)
This method converts a ClassInfo to a ClassDescriptorImpl
. |
| Uses of MappingException in org.castor.cpa.persistence.convertor |
|---|
| Methods in org.castor.cpa.persistence.convertor that throw MappingException | |
|---|---|
TypeConvertor |
TypeConvertorRegistry.getConvertor(Class<?> fromType,
Class<?> toType,
String parameter)
Returns a type convertor initialized with parameter if specified. |
| Uses of MappingException in org.castor.cpa.persistence.sql.connection |
|---|
| Methods in org.castor.cpa.persistence.sql.connection that throw MappingException | |
|---|---|
void |
DriverConnectionFactory.initializeFactory()
Initialize the concrete factory. |
void |
DataSourceConnectionFactory.initializeFactory()
Initialize the concrete factory. |
void |
JNDIConnectionFactory.initializeFactory()
Initialize the concrete factory. |
void |
ConnectionFactory.initializeFactory()
Initialize the concrete factory. |
static DataSource |
DataSourceConnectionFactory.loadDataSource(DataSource confDataSource,
ClassLoader loader)
Initialize JDBC DataSource instance with the given database configuration instances and the given class loader. |
static void |
DataSourceConnectionFactory.setParameters(DataSource dataSource,
Param[] params)
Set all the parameters of the given array at the given datasource by calling one of the set methods of the datasource. |
| Uses of MappingException in org.castor.cpa.persistence.sql.driver |
|---|
| Methods in org.castor.cpa.persistence.sql.driver that throw MappingException | |
|---|---|
KeyGenerator |
BaseFactory.getKeyGenerator(ClassDescriptor clsDesc)
Returns a key generator as specified in the given class descriptor. |
| Uses of MappingException in org.castor.cpa.persistence.sql.engine |
|---|
| Constructors in org.castor.cpa.persistence.sql.engine that throw MappingException | |
|---|---|
SQLStatementInsert(SQLEngine engine,
PersistenceFactory factory)
Constructor. |
|
| Uses of MappingException in org.castor.cpa.persistence.sql.engine.info |
|---|
| Methods in org.castor.cpa.persistence.sql.engine.info that throw MappingException | |
|---|---|
TableInfo |
InfoFactory.createTableInfo(ClassDescriptor classDescriptor)
Method checks if table for given class descriptor exists. |
| Uses of MappingException in org.castor.cpa.persistence.sql.keygen |
|---|
| Methods in org.castor.cpa.persistence.sql.keygen that throw MappingException | |
|---|---|
KeyGenerator |
TableKeyGeneratorFactory.getKeyGenerator(PersistenceFactory factory,
Properties params,
int sqlType)
|
KeyGenerator |
MaxKeyGeneratorFactory.getKeyGenerator(PersistenceFactory factory,
Properties params,
int sqlType)
Produce the key generator. |
KeyGenerator |
HighLowKeyGeneratorFactory.getKeyGenerator(PersistenceFactory factory,
Properties params,
int sqlType)
Produce the key generator. |
KeyGenerator |
IdentityKeyGeneratorFactory.getKeyGenerator(PersistenceFactory factory,
Properties params,
int sqlType)
Produce the key generator. |
KeyGenerator |
KeyGeneratorFactory.getKeyGenerator(PersistenceFactory factory,
Properties params,
int sqlType)
Produce the key generator. |
KeyGenerator |
SequenceKeyGeneratorFactory.getKeyGenerator(PersistenceFactory factory,
Properties params,
int sqlType)
Produce the key generator. |
KeyGenerator |
UUIDKeyGeneratorFactory.getKeyGenerator(PersistenceFactory factory,
Properties params,
int sqlType)
Produce the key generator. |
KeyGenerator |
NoKeyGeneratorFactory.getKeyGenerator(PersistenceFactory factory,
Properties params,
int sqlType)
Produce the key generator. |
void |
HighLowKeyGenerator.initFromParameters(Properties params)
Method to init some class variables. |
| Constructors in org.castor.cpa.persistence.sql.keygen that throw MappingException | |
|---|---|
HighLowKeyGenerator(PersistenceFactory factory,
Properties params,
int sqlType)
Initialize the HIGH-LOW key generator. |
|
IdentityKeyGenerator(PersistenceFactory factory,
int sqlType)
Initialize the IDENTITY key generator. |
|
MaxKeyGenerator(PersistenceFactory factory,
int sqlType)
Initialize the MAX key generator. |
|
SequenceAfterKeyGenerator(PersistenceFactory factory,
Properties params,
int sqlType)
Initialize the SEQUENCE key generator for AFTER_INSERT style SequenceAfterKeyGenerator.generateKey(java.sql.Connection, java.lang.String, java.lang.String) is called after INSERT. |
|
SequenceBeforeKeyGenerator(PersistenceFactory factory,
Properties params,
int sqlType)
Initialize the SEQUENCE key generator for BEFORE_INSERT style SequenceBeforeKeyGenerator.generateKey(java.sql.Connection, java.lang.String, java.lang.String) is called before INSERT. |
|
SequenceDuringKeyGenerator(PersistenceFactory factory,
Properties params,
int sqlType)
Initialize the SEQUENCE key generator for DURING_INSERT style SequenceDuringKeyGenerator.generateKey(java.sql.Connection, java.lang.String, java.lang.String) is never called. |
|
TableKeyGenerator(PersistenceFactory factory,
Properties params,
int sqlType)
Creates an instance of this key generator. |
|
UUIDKeyGenerator(PersistenceFactory factory,
int sqlType)
Initialize the UUID key generator. |
|
| Uses of MappingException in org.castor.cpa.persistence.sql.keygen.typehandler |
|---|
| Methods in org.castor.cpa.persistence.sql.keygen.typehandler that throw MappingException | |
|---|---|
static KeyGeneratorTypeHandler<?> |
KeyGeneratorTypeHandlerFactory.getTypeHandler(int sqlType,
int allocationSize)
Returns an KeyGeneratorTypeHandler instance. |
| Uses of MappingException in org.castor.cpa.test.framework |
|---|
| Methods in org.castor.cpa.test.framework that throw MappingException | |
|---|---|
static JDOManager |
CPATestCase.getJDOManager(Database dbConfig)
|
static JDOManager |
CPATestCase.getJDOManager(String name,
String mapping)
|
| Uses of MappingException in org.castor.jdo.engine |
|---|
| Methods in org.castor.jdo.engine that throw MappingException | |
|---|---|
static DatabaseContext |
DatabaseRegistry.getDatabaseContext(String name)
Get the ConnectionFactory for the given database name. |
void |
DatabaseContext.initialize()
Initialize factory if it had not been initialized before. |
void |
DatabaseContext.initializeFactory()
|
static void |
DatabaseRegistry.loadDatabase(InputSource source,
EntityResolver resolver,
ClassLoader loader)
Instantiates a ConnectionFactory from the JDO configuration file. |
static void |
DatabaseRegistry.loadDatabase(InputSource source,
EntityResolver resolver,
ClassLoader loader,
JDOClassDescriptorResolver classDescriptorResolver)
Instantiates a ConnectionFactory from the JDO configuration file. |
static void |
DatabaseRegistry.loadDatabase(JdoConf jdoConf,
EntityResolver resolver,
ClassLoader loader,
String baseURI)
Creates a entry for every database and associates them with their name in a map. |
static void |
DatabaseRegistry.loadDatabase(JdoConf jdoConf,
EntityResolver resolver,
ClassLoader loader,
String baseURI,
JDOClassDescriptorResolver classDescriptorResolver)
Creates a entry for every database and associates them with their name in a map. |
static void |
DatabaseRegistry.loadDatabase(String name,
String engine,
DataSource datasource,
Mapping mapping,
TransactionManager txManager)
Instantiates a DataSourceConnectionFactory with given name, engine, datasource and mapping. |
static Class<?> |
SQLTypeInfos.sqlTypeName2javaType(String sqlTypeName)
Returns the Java type for the given SQL type name. |
static Class<?> |
SQLTypeInfos.sqlTypeNum2javaType(int sqlTypeNum)
Returns the Java type for the given SQL type. |
static String |
SQLTypeInfos.sqlTypeNum2sqlTypeName(int sqlTypeNum)
Returns the SQL type name for the given SQL type number. |
| Constructors in org.castor.jdo.engine that throw MappingException | |
|---|---|
DatabaseContext(String name,
String engine,
Mapping mapping,
TransactionManager txManager,
ConnectionFactory factory)
Constructs a new AbstractConnectionFactory with given name, engine and mapping. |
|
| Uses of MappingException in org.castor.jdo.util |
|---|
| Methods in org.castor.jdo.util that throw MappingException | |
|---|---|
static JdoConf |
JDOConfFactory.createJdoConf(InputSource source,
EntityResolver resolver,
ClassLoader loader)
Creates a JdoConf instance from a SAX InputSource, using a Castor XML Unmarshaller. |
static ClassDescriptor |
JDOUtils.getClassDescriptor(String db,
Class<?> type)
Return ClassDescriptor for given type in named database . |
String |
JDOConfAdapter.getTransactionManager()
|
| Uses of MappingException in org.castor.mapping |
|---|
| Methods in org.castor.mapping that throw MappingException | |
|---|---|
MappingLoader |
MappingLoaderFactory.getMappingLoader()
Acquires the appropriate org.exolab.castor.mapping.MappingLoader with the given properties. |
MappingLoader |
AbstractMappingLoaderFactory.getMappingLoader()
|
MappingLoader |
MappingUnmarshaller.getMappingLoader(Mapping mapping,
BindingType bindingType)
Returns a mapping resolver for the suitable engine. |
MappingLoader |
MappingUnmarshaller.getMappingLoader(Mapping mapping,
BindingType bindingType,
Object param)
Returns a mapping resolver for the suitable engine. |
MappingLoader |
MappingLoaderRegistry.getMappingLoader(String sourceType,
BindingType bindingType)
Returns a mapping loader for the suitable source and binding type. |
protected void |
MappingUnmarshaller.loadMappingInternal(Mapping mapping,
DTDResolver resolver,
String url)
Internal recursive loading method. |
void |
MappingUnmarshaller.loadMappingOnly(Mapping mapping)
|
| Uses of MappingException in org.castor.xml |
|---|
| Methods in org.castor.xml that throw MappingException | |
|---|---|
void |
InternalContext.addMapping(Mapping mapping)
Instructs Castor to load class descriptors from the mapping given. |
void |
AbstractInternalContext.addMapping(Mapping mapping)
|
| Uses of MappingException in org.exolab.castor.jdo |
|---|
| Methods in org.exolab.castor.jdo that throw MappingException | |
|---|---|
static JDOManager |
JDOManager.createInstance(String databaseName)
Factory method for creating a JDOManager instance for one of the databases configured in the JDOManager configuration file. |
ConnectionFactory |
JDOManager.getConnectionFactory()
Returns the ConnectionFactory for this JDOManager instance. |
static void |
JDOManager.loadConfiguration(InputSource source,
EntityResolver resolver,
ClassLoader loader)
Load the JDOManager configuration from the specified input source using a custom class loader. |
static void |
JDOManager.loadConfiguration(InputSource source,
EntityResolver resolver,
ClassLoader loader,
JDOClassDescriptorResolver classDescriptorResolver)
Load the JDOManager configuration from the specified input source using a custom class loader. |
static void |
JDOManager.loadConfiguration(JdoConf jdoConf,
ClassLoader loader,
String baseURI)
Load the JDOManager configuration from the specified in-memory JdoConf. |
static void |
JDOManager.loadConfiguration(JdoConf jdoConf,
EntityResolver resolver,
ClassLoader loader,
String baseURI)
Load the JDOManager configuration from the specified in-memory JdoConf. |
static void |
JDOManager.loadConfiguration(JdoConf jdoConf,
String baseURI)
Load the JDOManager configuration from the specified in-memory JdoConf. |
static void |
JDOManager.loadConfiguration(String url)
Load the JDOManager configuration from the specified location. |
static void |
JDOManager.loadConfiguration(String url,
ClassLoader loader)
Load the JDOManager configuration from the specified location using a custom class loader. |
static void |
JDOManager.loadConfiguration(String url,
ClassLoader loader,
JDOClassDescriptorResolver classDescriptorResolver)
Load the JDOManager configuration from the specified location using a custom class loader. |
static void |
JDOManager.loadConfiguration(String name,
String engine,
DataSource datasource,
Mapping mapping,
TransactionManager txManager)
Initialize the JDOManager configuration with given name, engine, datasource, transaction demarcation and mapping. |
| Uses of MappingException in org.exolab.castor.jdo.engine |
|---|
| Methods in org.exolab.castor.jdo.engine that throw MappingException | |
|---|---|
protected ClassDescriptor |
JDOMappingLoader.createClassDescriptor(ClassMapping classMapping)
|
protected FieldDescriptorImpl |
JDOMappingLoader.createFieldDesc(Class javaClass,
FieldMapping fieldMap)
|
protected FieldDescriptor |
JDOMappingLoader.findIdentityByName(List<FieldDescriptor> fldList,
String idName,
Class javaClass)
|
protected TypeInfo |
JDOMappingLoader.getTypeInfo(Class fieldType,
CollectionHandler colHandler,
FieldMapping fieldMap)
|
void |
JDOMappingLoader.loadMapping(MappingRoot mapping,
Object param)
Loads the mapping from the specified mapping object if not loaded previously. |
| Constructors in org.exolab.castor.jdo.engine that throw MappingException | |
|---|---|
SQLEngine(ClassDescriptor clsDesc,
PersistenceFactory factory)
|
|
SQLFieldInfo(ClassDescriptor clsDesc,
FieldDescriptor fieldDesc,
String classTable,
boolean ext)
|
|
SQLStatementLoad(SQLEngine engine,
PersistenceFactory factory)
Constructor creating new SQLStatementLoad. |
|
SQLStatementQuery(SQLEngine engine,
PersistenceFactory factory)
|
|
| Uses of MappingException in org.exolab.castor.mapping |
|---|
| Methods in org.exolab.castor.mapping that throw MappingException | |
|---|---|
abstract GeneralizedFieldHandler |
FieldHandlerFactory.createFieldHandler(Class type)
Creates a GeneralizedFieldHandler for the given class type. |
List |
Mapping.getMappingSources()
Get list of mapping sources to resolve. |
void |
Mapping.loadMapping(String url)
Loads the mapping from the specified URL with type defaults to 'CastorXmlMapping'. |
void |
Mapping.loadMapping(String url,
String type)
Loads the mapping from the specified URL. |
void |
Mapping.loadMapping(URL url)
Loads the mapping from the specified URL with type defaults to 'CastorXmlMapping'. |
void |
Mapping.loadMapping(URL url,
String type)
Loads the mapping from the specified URL. |
| Uses of MappingException in org.exolab.castor.mapping.loader |
|---|
| Methods in org.exolab.castor.mapping.loader that throw MappingException | |
|---|---|
protected void |
AbstractMappingLoader2.addDescriptor(ClassDescriptor descriptor)
Adds a class descriptor. |
protected void |
AbstractMappingLoader.checkFieldNameDuplicates(FieldDescriptor[] fields,
Class<?> cls)
Checks all given fields for name equality and throws a MappingException if at least two fields have the same name. |
protected abstract ClassDescriptor |
AbstractMappingLoader.createClassDescriptor(ClassMapping clsMap)
|
protected void |
AbstractMappingLoader.createClassDescriptors(MappingRoot mapping)
|
protected FieldDescriptorImpl |
AbstractMappingLoader.createFieldDesc(Class<?> javaClass,
FieldMapping fieldMap)
Creates a single field descriptor. |
protected FieldDescriptorImpl[] |
AbstractMappingLoader.createFieldDescriptors(ClassMapping clsMap,
Class<?> javaClass)
Create field descriptors. |
protected FieldHandler |
AbstractMappingLoader.createFieldHandler(Class<?> javaClass,
Class<?> fldType,
FieldMapping fldMap,
AbstractMappingLoader.TypeInfoReference typeInfoRef)
Creates the FieldHandler for the given FieldMapping. |
protected void |
AbstractMappingLoader.createFieldHandlers(MappingRoot mapping)
Load field handler definitions, check for duplicate definitions and instantiate the appropriate FieldHandler implementations. |
static Method |
AbstractMappingLoader.findAccessor(Class<?> javaClass,
String methodName,
Class<?> fieldType,
boolean getMethod)
Returns the named accessor. |
static Class |
CollectionHandlers.getCollectionType(String name)
Returns the collection's Java class from the collection name. |
protected ClassDescriptor |
AbstractMappingLoader.getDepended(ClassMapping clsMap,
Class<?> javaClass)
Gets the ClassDescriptor the given classMapping depends
on. |
protected ClassDescriptor |
AbstractMappingLoader.getExtended(ClassMapping clsMap,
Class<?> javaClass)
Gets the ClassDescriptor the given classMapping extends. |
static FieldDescriptor[] |
ClassDescriptorHelper.getFullFields(ClassDescriptor classDescriptor)
Get all the FieldDescriptors for non-identity fields, including
all the fields in base classes. |
static CollectionHandler |
CollectionHandlers.getHandler(Class javaClass)
Returns the collection's handler based on the Java class. |
static FieldDescriptor[] |
ClassDescriptorHelper.getIdFields(ClassDescriptor classDescriptor)
Get the all the id fields of a class If the class, C, is a dependent class, then the depended class', D, id fields will be appended at the back and returned. |
protected TypeInfo |
AbstractMappingLoader.getTypeInfo(Class<?> fieldType,
CollectionHandler colHandler,
FieldMapping fieldMap)
|
static boolean |
CollectionHandlers.isGetSetCollection(Class javaClass)
Returns true if the collection requires get/set methods. |
abstract void |
AbstractMappingLoader.loadMapping(MappingRoot mapping,
Object param)
Loads the mapping from the specified mapping object if not loaded previously. |
protected Class<?> |
AbstractMappingLoader.resolveType(String typeName)
Returns the Java class for the named type. |
void |
FieldHandlerImpl.setAddMethod(Method method)
Mutator method used by Introspector. |
void |
FieldHandlerImpl.setCreateMethod(Method method)
Mutator method used by AbstractMappingLoader and
Introspector. |
void |
FieldHandlerImpl.setEnumMethod(Method method)
Sets the enumeration method. |
void |
FieldHandlerImpl.setHasDeleteMethod(Method hasMethod,
Method deleteMethod)
Mutator method used by AbstractMappingLoader and
Introspector. |
void |
FieldHandlerImpl.setIterMethod(Method method)
Sets the iteration method. |
void |
FieldHandlerImpl.setReadMethod(Method method)
Mutator method used by Introspector. |
void |
FieldHandlerImpl.setWriteMethod(Method method)
Mutator method used by Introspector. |
| Constructors in org.exolab.castor.mapping.loader that throw MappingException | |
|---|---|
FieldHandlerImpl(Field field,
TypeInfo typeInfo)
Construct a new field handler for the specified field. |
|
FieldHandlerImpl(String fieldName,
Method[] getSequence,
Method[] setSequence,
Method getMethod,
Method setMethod,
TypeInfo typeInfo)
Construct a new field handler for the specified field that is accessed through the accessor methods (get/set). |
|
| Uses of MappingException in org.exolab.castor.persist |
|---|
| Methods in org.exolab.castor.persist that throw MappingException | |
|---|---|
LockEngine |
PersistenceEngineFactory.createEngine(DatabaseContext databaseContext,
ClassDescriptorResolver cdResolver,
PersistenceFactory persistenceFactory)
Creates and returns a new persistence engine. |
static Method |
FieldMolder.findAccessor(Class<?> javaClass,
String methodName,
Class<?> fieldType,
boolean getMethod)
Returns the named accessor. |
| Constructors in org.exolab.castor.persist that throw MappingException | |
|---|---|
FieldMolder(DatingService datingService,
ClassMolder enclosingClassMolder,
FieldDescriptor fieldDescriptor)
|
|
FieldMolder(DatingService ds,
ClassMolder eMold,
FieldDescriptor fieldDescriptor,
SQLRelationLoader loader)
Creates a single field descriptor. |
|
LockEngine(DatabaseContext databaseContext,
ClassDescriptorResolver cdResolver,
PersistenceFactory persistenceFactory)
Construct a new cache engine with the specified mapping table, persistence engine and the log interceptor. |
|
| Uses of MappingException in org.exolab.castor.persist.spi |
|---|
| Methods in org.exolab.castor.persist.spi that throw MappingException | |
|---|---|
KeyGenerator |
PersistenceFactory.getKeyGenerator(ClassDescriptor clsDesc)
Returns a key generator as specified in the given class descriptor. |
Persistence |
PersistenceFactory.getPersistence(ClassDescriptor clsDesc)
Returns a persistence implementation for the specified object type (given its descriptor) on behalf of the specified cache engine. |
| Uses of MappingException in org.exolab.castor.tools |
|---|
| Methods in org.exolab.castor.tools that throw MappingException | |
|---|---|
void |
MappingTool.addClass(Class cls)
Adds the given Class to the mapping file. |
void |
MappingTool.addClass(Class cls,
boolean deep)
Adds the given Class to the mapping file. |
void |
MappingTool.addClass(String name)
Adds the Class, specified by the given name, to the mapping file. |
void |
MappingTool.addClass(String name,
boolean deep)
Adds the Class, specified by the given name, to the mapping file. |
void |
MappingTool.write(Writer writer)
Serializes the mapping to the given writer. |
| Uses of MappingException in org.exolab.castor.xml |
|---|
| Methods in org.exolab.castor.xml that throw MappingException | |
|---|---|
void |
XMLContext.addMapping(Mapping mapping)
Instructs Castor to load class descriptors from the mapping given. |
protected ClassDescriptor |
XMLMappingLoader.createClassDescriptor(ClassMapping classMapping)
To create the class descriptor for the given class mapping. |
protected FieldDescriptorImpl |
XMLMappingLoader.createFieldDesc(Class javaClass,
FieldMapping fieldMap)
|
protected TypeInfo |
XMLMappingLoader.getTypeInfo(Class fieldType,
CollectionHandler colHandler,
FieldMapping fieldMap)
|
void |
XMLMappingLoader.loadMapping(MappingRoot mapping,
Object param)
Loads the mapping from the specified mapping object if not loaded previously. |
void |
Marshaller.setMapping(Mapping mapping)
Sets the given mapping to be used by the marshalling Framework. |
void |
Unmarshaller.setMapping(Mapping mapping)
Sets the Mapping to use during unmarshalling. |
| Constructors in org.exolab.castor.xml that throw MappingException | |
|---|---|
Unmarshaller(InternalContext internalContext,
Mapping mapping)
Creates a new Unmarshaller with the given Mapping. |
|
Unmarshaller(Mapping mapping)
Creates a new Unmarshaller with the given Mapping. |
|
| Uses of MappingException in org.exolab.castor.xml.handlers |
|---|
| Methods in org.exolab.castor.xml.handlers that throw MappingException | |
|---|---|
GeneralizedFieldHandler |
DefaultFieldHandlerFactory.createFieldHandler(Class type)
Creates a GeneralizedFieldHandler for the given class type. |
| Constructors in org.exolab.castor.xml.handlers that throw MappingException | |
|---|---|
ValueOfFieldHandler(Class type)
Creates a new ValueOfFieldHandler. |
|
| Uses of MappingException in org.exolab.castor.xml.util |
|---|
| Constructors in org.exolab.castor.xml.util that throw MappingException | |
|---|---|
XMLClassDescriptorAdapter(ClassDescriptor classDesc,
String xmlName)
Creates a new XMLClassDescriptorAdapter using the given ClassDescriptor. |
|
XMLClassDescriptorAdapter(ClassDescriptor classDesc,
String xmlName,
NodeType primitiveNodeType)
Creates a new XMLClassDescriptorAdapter using the given ClassDescriptor. |
|
XMLContainerElementFieldDescriptor(XMLFieldDescriptorImpl fieldDesc,
NodeType primitiveNodeType)
|
|
XMLFieldDescriptorImpl(FieldDescriptor fieldDesc,
String xmlName,
NodeType nodeType,
NodeType primitiveNodeType)
Construct a new field descriptor for the specified field. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||