org.castor.mapping

Interface MappingLoaderFactory

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.
Version:
$Revision: 5951 $ $Date: 2005-12-19 15:48:30 -0700 (Mon, 19 Dec 2005) $
Author:
Werner Guttmann
Since:
1.0.4

Method Summary

BindingType
getBindingType()
Defines the binding type of the underlying MappingLoader.
MappingLoader
getMappingLoader()
Acquires the appropriate org.exolab.castor.mapping.MappingLoader with the given properties.
String
getName()
Returns the short alias for this factory instance.
String
getSourceType()
Defines the source type of the underlying MappingLoader

Method Details

getBindingType

public BindingType getBindingType()
Defines the binding type of the underlying MappingLoader.
Returns:
the binding type of the underlying MappingLoader

getMappingLoader

public 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.

getName

public String getName()
Returns the short alias for this factory instance.
Returns:
The short alias name.

getSourceType

public String getSourceType()
Defines the source type of the underlying MappingLoader
Returns:
The source type.

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com