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 java.lang.Object
- implements MappingLoaderFactory
Abstract base class for MappingLoaderFactory instances
- Author:
- me
Method Summary |
abstract java.lang.String |
getClassname()
To obtain the class name of the MappingLoader to instantiate |
MappingLoader |
getMappingLoader()
Acquires the appropriate org.exolab.castor.mapping.MappingLoader with the
given properties. |
java.lang.String |
getSourceType()
Defines the source type of the underlying MappingLoader |
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 java.lang.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 java.lang.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()
Intalio Inc. (C) 1999-2007. All rights reserved http://www.intalio.com