Package org.castor.mapping
Class AbstractMappingLoaderFactory
java.lang.Object
org.castor.mapping.AbstractMappingLoaderFactory
- All Implemented Interfaces:
MappingLoaderFactory
- Direct Known Subclasses:
JDOMappingLoaderFactory
,XMLMappingLoaderFactory
Abstract base class for MappingLoaderFactory instances
- Author:
- me
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.commons.logging.Log
The Jakarta Commons Logging instance used for all logging. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
To obtain the class name of the MappingLoader to instantiatefinal MappingLoader
Acquires the appropriate org.exolab.castor.mapping.MappingLoader with the given properties.final String
Defines the source type of the underlying MappingLoaderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.castor.mapping.MappingLoaderFactory
getBindingType, getName
-
Field Details
-
LOG
public static final org.apache.commons.logging.Log LOGThe Jakarta Commons Logging instance used for all logging.
-
-
Constructor Details
-
AbstractMappingLoaderFactory
public AbstractMappingLoaderFactory()
-
-
Method Details
-
getSourceType
Description copied from interface:MappingLoaderFactory
Defines the source type of the underlying MappingLoader- Specified by:
getSourceType
in interfaceMappingLoaderFactory
- Returns:
- The source type.
-
getClassname
To obtain the class name of the MappingLoader to instantiate- Returns:
- The class name of the MappingLoader to instantiate
-
getMappingLoader
Description copied from interface:MappingLoaderFactory
Acquires the appropriate org.exolab.castor.mapping.MappingLoader with the given properties.- Specified by:
getMappingLoader
in interfaceMappingLoaderFactory
- Returns:
- The transaction manager.
- Throws:
MappingException
- If any failure occured when loading the MappingLoader.
-