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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BindingType
getBindingType()
Defines the binding type of the underlying MappingLoader.MappingLoader
getMappingLoader()
Acquires the appropriate org.exolab.castor.mapping.MappingLoader with the given properties.java.lang.String
getName()
Returns the short alias for this factory instance.java.lang.String
getSourceType()
Defines the source type of the underlying MappingLoader
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the short alias for this factory instance.- Returns:
- The short alias name.
-
getMappingLoader
MappingLoader getMappingLoader() throws MappingException
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
java.lang.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
-
-