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.LogThe Jakarta Commons Logging instance used for all logging. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringTo obtain the class name of the MappingLoader to instantiatefinal MappingLoaderAcquires the appropriate org.exolab.castor.mapping.MappingLoader with the given properties.final StringDefines the source type of the underlying MappingLoaderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:MappingLoaderFactoryDefines the source type of the underlying MappingLoader- Specified by:
getSourceTypein 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:MappingLoaderFactoryAcquires the appropriate org.exolab.castor.mapping.MappingLoader with the given properties.- Specified by:
getMappingLoaderin interfaceMappingLoaderFactory- Returns:
- The transaction manager.
- Throws:
MappingException- If any failure occured when loading the MappingLoader.
-