org.castor.mapping

Interface MappingLoaderFactory

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
BindingTypegetBindingType()
Defines the binding type of the underlying MappingLoader.
MappingLoadergetMappingLoader()
Acquires the appropriate org.exolab.castor.mapping.MappingLoader with the given properties.
StringgetName()
Returns the short alias for this factory instance.
StringgetSourceType()
Defines the source type of the underlying MappingLoader

Method Detail

getBindingType

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

Returns: the binding type of the underlying MappingLoader

getMappingLoader

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

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-2006. All rights reserved http://www.intalio.com