@Internal public class ComponentFactoryService extends Object
ComponentFactory
of provided type and properties. It is similar to
TableFactoryService
but it disambiguates based on ComponentFactory.optionalContext()
.Constructor and Description |
---|
ComponentFactoryService() |
Modifier and Type | Method and Description |
---|---|
static <T extends ComponentFactory> |
find(Class<T> factoryClass,
Map<String,String> propertyMap)
Finds a table factory of the given class and property map.
|
public static <T extends ComponentFactory> T find(Class<T> factoryClass, Map<String,String> propertyMap)
ComponentFactory
s based on additional
optional context provided via ComponentFactory.optionalContext()
.T
- factory class typefactoryClass
- desired factory classpropertyMap
- properties that describe the factory configurationCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.