Class AbstractMappingLoaderFactory

java.lang.Object
org.castor.mapping.AbstractMappingLoaderFactory
All Implemented Interfaces:
MappingLoaderFactory
Direct Known Subclasses:
JDOMappingLoaderFactory, XMLMappingLoaderFactory

public abstract class AbstractMappingLoaderFactory extends Object implements MappingLoaderFactory
Abstract base class for MappingLoaderFactory instances
Author:
me
  • Field Details

    • LOG

      public static final org.apache.commons.logging.Log LOG
      The Jakarta Commons Logging instance used for all logging.
  • Constructor Details

    • AbstractMappingLoaderFactory

      public AbstractMappingLoaderFactory()
  • Method Details

    • getSourceType

      public final 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.
    • getClassname

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