Package org.castor.mapping
Interface MappingLoaderFactory
- All Known Implementing Classes:
AbstractMappingLoaderFactory
,JDOMappingLoaderFactory
,XMLMappingLoaderFactory
public interface MappingLoaderFactory
A factory for properly acquiring org.exolab.castor.mapping.MappingLoader instances. To
provide an implementation for a specific MappingLoader, implement this interface.
- Since:
- 1.0.4
- Version:
- $Revision: 5951 $ $Date: 2005-12-19 15:48:30 -0700 (Mon, 19 Dec 2005) $
- Author:
- Werner Guttmann
-
Method Summary
Modifier and TypeMethodDescriptionDefines the binding type of the underlying MappingLoader.Acquires the appropriate org.exolab.castor.mapping.MappingLoader with the given properties.getName()
Returns the short alias for this factory instance.Defines the source type of the underlying MappingLoader
-
Method Details
-
getName
-
getMappingLoader
Acquires the appropriate org.exolab.castor.mapping.MappingLoader with the given properties.- Returns:
- The transaction manager.
- Throws:
MappingException
- If any failure occured when loading the MappingLoader.
-
getSourceType
String getSourceType()Defines the source type of the underlying MappingLoader- Returns:
- The source type.
-
getBindingType
BindingType getBindingType()Defines the binding type of the underlying MappingLoader.- Returns:
- the binding type of the underlying MappingLoader
-