public final class GenericFileManagerObjectFactory extends Object
Generic object creation utilities for FileManager objects from their interface class names.
Modifier and Type | Method and Description |
---|---|
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 . |
public static DataTransfer getDataTransferServiceFromFactory(String serviceFactory)
Constructs a new DataTransfer
from the specified
serviceFactory
.
serviceFactory
- The Service Factory class name that will be instantiated to
provide DataTransfer objects.DataTransfer
object.public static RepositoryManager getRepositoryManagerServiceFromFactory(String serviceFactory)
Constructs a new RepositoryManager
from the specified
serviceFactory
.
serviceFactory
- The class name of the service factory used to create new
RepositoryManager objects.RepositoryManager
object.public static Catalog getCatalogServiceFromFactory(String serviceFactory)
Constructs a new Catalog
from the specified
serviceFactory
.
serviceFactory
- The class name of the service factory used to create new
Catalog objects.Catalog
object.public static ValidationLayer getValidationLayerFromFactory(String serviceFactory)
Creates a ValidationLayer
from the specified
serviceFactory
.
serviceFactory
- The classname of the ValidationLayerFactory to use to create
the ValidationLayer.ValidationLayer
, created from the specified
ValidationLayerFactory.public static Versioner getVersionerFromClassName(String className)
Constructs a new Versioner
from the specified
className
.
className
- The class name of the Versioner object to create.Versioner
object.public static FilemgrMetExtractor getExtractorFromClassName(String className)
public static TypeHandler getTypeHandlerFromClassName(String className)
public static FilterAlgor getFilterAlgorFromClassName(String className)
public static VersionConverter getVersionConverterFromClassName(String className)
Copyright © 1999-2015 Apache OODT. All Rights Reserved.