public class TableFactoryService extends Object
TableFactory
of provided type and properties.Constructor and Description |
---|
TableFactoryService() |
Modifier and Type | Method and Description |
---|---|
static <T extends TableFactory> |
find(Class<T> factoryClass,
Descriptor descriptor)
Finds a table factory of the given class and descriptor.
|
static <T extends TableFactory> |
find(Class<T> factoryClass,
Descriptor descriptor,
ClassLoader classLoader)
Finds a table factory of the given class, descriptor, and classloader.
|
static <T extends TableFactory> |
find(Class<T> factoryClass,
Map<String,String> propertyMap)
Finds a table factory of the given class and property map.
|
static <T extends TableFactory> |
find(Class<T> factoryClass,
Map<String,String> propertyMap,
ClassLoader classLoader)
Finds a table factory of the given class, property map, and classloader.
|
static <T extends TableFactory> |
findAll(Class<T> factoryClass,
Map<String,String> propertyMap)
Finds all table factories of the given class and property map.
|
public static <T extends TableFactory> T find(Class<T> factoryClass, Descriptor descriptor)
T
- factory class typefactoryClass
- desired factory classdescriptor
- descriptor describing the factory configurationpublic static <T extends TableFactory> T find(Class<T> factoryClass, Descriptor descriptor, ClassLoader classLoader)
T
- factory class typefactoryClass
- desired factory classdescriptor
- descriptor describing the factory configurationclassLoader
- classloader for service loadingpublic static <T extends TableFactory> T find(Class<T> factoryClass, Map<String,String> propertyMap)
T
- factory class typefactoryClass
- desired factory classpropertyMap
- properties that describe the factory configurationpublic static <T extends TableFactory> T find(Class<T> factoryClass, Map<String,String> propertyMap, ClassLoader classLoader)
T
- factory class typefactoryClass
- desired factory classpropertyMap
- properties that describe the factory configurationclassLoader
- classloader for service loadingpublic static <T extends TableFactory> List<T> findAll(Class<T> factoryClass, Map<String,String> propertyMap)
T
- factory class typefactoryClass
- desired factory classpropertyMap
- properties that describe the factory configurationCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.