org.apache.oodt.cas.filemgr.util
Class GenericFileManagerObjectFactory

java.lang.Object
  extended by org.apache.oodt.cas.filemgr.util.GenericFileManagerObjectFactory

public final class GenericFileManagerObjectFactory
extends Object

Version:
$Revision: 12226 $

Generic object creation utilities for FileManager objects from their interface class names.

Author:
mattmann, bfoster

Method Summary
static Cache getCacheFromFactory(String serviceFactory)
           
static Catalog getCatalogServiceFromFactory(String serviceFactory)
           Constructs a new Catalog from the specified serviceFactory.
static DataTransfer getDataTransferServiceFromFactory(String serviceFactory)
           Constructs a new DataTransfer from the specified serviceFactory.
static FilemgrMetExtractor getExtractorFromClassName(String className)
           
static FilterAlgor getFilterAlgorFromClassName(String className)
           
static RepositoryManager getRepositoryManagerServiceFromFactory(String serviceFactory)
           Constructs a new RepositoryManager from the specified serviceFactory.
static TypeHandler getTypeHandlerFromClassName(String className)
           
static ValidationLayer getValidationLayerFromFactory(String serviceFactory)
           Creates a ValidationLayer from the specified serviceFactory.
static VersionConverter getVersionConverterFromClassName(String className)
           
static Versioner getVersionerFromClassName(String className)
           Constructs a new Versioner from the specified className.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDataTransferServiceFromFactory

public static DataTransfer getDataTransferServiceFromFactory(String serviceFactory)

Constructs a new DataTransfer from the specified serviceFactory.

Parameters:
serviceFactory - The Service Factory class name that will be instantiated to provide DataTransfer objects.
Returns:
A newly instantiated DataTransfer object.

getRepositoryManagerServiceFromFactory

public static RepositoryManager getRepositoryManagerServiceFromFactory(String serviceFactory)

Constructs a new RepositoryManager from the specified serviceFactory.

Parameters:
serviceFactory - The class name of the service factory used to create new RepositoryManager objects.
Returns:
A newly constructed RepositoryManager object.

getCatalogServiceFromFactory

public static Catalog getCatalogServiceFromFactory(String serviceFactory)

Constructs a new Catalog from the specified serviceFactory.

Parameters:
serviceFactory - The class name of the service factory used to create new Catalog objects.
Returns:
A newly constructed Catalog object.

getValidationLayerFromFactory

public static ValidationLayer getValidationLayerFromFactory(String serviceFactory)

Creates a ValidationLayer from the specified serviceFactory.

Parameters:
serviceFactory - The classname of the ValidationLayerFactory to use to create the ValidationLayer.
Returns:
A new ValidationLayer, created from the specified ValidationLayerFactory.

getCacheFromFactory

public static Cache getCacheFromFactory(String serviceFactory)

getVersionerFromClassName

public static Versioner getVersionerFromClassName(String className)

Constructs a new Versioner from the specified className.

Parameters:
className - The class name of the Versioner object to create.
Returns:
A newly constructed Versioner object.

getExtractorFromClassName

public static FilemgrMetExtractor getExtractorFromClassName(String className)

getTypeHandlerFromClassName

public static TypeHandler getTypeHandlerFromClassName(String className)

getFilterAlgorFromClassName

public static FilterAlgor getFilterAlgorFromClassName(String className)

getVersionConverterFromClassName

public static VersionConverter getVersionConverterFromClassName(String className)


Copyright © 1999-2011 Apache OODT. All Rights Reserved.