org.castor.mapping
Class AbstractMappingLoaderFactory
java.lang.Object
org.castor.mapping.AbstractMappingLoaderFactory
- All Implemented Interfaces:
- MappingLoaderFactory
- Direct Known Subclasses:
- JDOMappingLoaderFactory, XMLMappingLoaderFactory
public abstract class AbstractMappingLoaderFactory
- extends Object
- implements MappingLoaderFactory
Abstract base class for MappingLoaderFactory instances
- Author:
- me
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
- The Jakarta Commons
Logging instance used for all logging.
AbstractMappingLoaderFactory
public AbstractMappingLoaderFactory()
getSourceType
public final String getSourceType()
- Description copied from interface:
MappingLoaderFactory
- Defines the source type of the underlying MappingLoader
- Specified by:
getSourceType in interface MappingLoaderFactory
- Returns:
- The source type.
- See Also:
MappingLoaderFactory.getSourceType()
getClassname
public abstract String getClassname()
- To obtain the class name of the MappingLoader to instantiate
- Returns:
- The class name of the MappingLoader to instantiate
getMappingLoader
public final MappingLoader getMappingLoader()
throws MappingException
- Description copied from interface:
MappingLoaderFactory
- Acquires the appropriate org.exolab.castor.mapping.MappingLoader with the
given properties.
- Specified by:
getMappingLoader in interface MappingLoaderFactory
- Returns:
- The transaction manager.
- Throws:
MappingException - If any failure occured when loading
the MappingLoader.- See Also:
MappingLoaderFactory.getMappingLoader()
Copyright © 2010. All Rights Reserved.