public class ConfiguredObjectFactoryImpl extends Object implements ConfiguredObjectFactory
| Constructor and Description |
|---|
ConfiguredObjectFactoryImpl(Model model) |
| Modifier and Type | Method and Description |
|---|---|
<X extends ConfiguredObject<X>> |
create(Class<X> clazz,
Map<String,Object> attributes,
ConfiguredObject<?>... parents) |
<X extends ConfiguredObject<X>> |
createAsync(Class<X> clazz,
Map<String,Object> attributes,
ConfiguredObject<?>... parents) |
<X extends ConfiguredObject<X>> |
getConfiguredObjectTypeFactory(Class<X> categoryClass,
Map<String,Object> attributes) |
<X extends ConfiguredObject<X>> |
getConfiguredObjectTypeFactory(String category,
String type) |
Model |
getModel() |
Collection<String> |
getSupportedTypes(Class<? extends ConfiguredObject> category) |
<X extends ConfiguredObject<X>> |
recover(ConfiguredObjectRecord record,
ConfiguredObject<?>... parents) |
public ConfiguredObjectFactoryImpl(Model model)
public <X extends ConfiguredObject<X>> UnresolvedConfiguredObject<X> recover(ConfiguredObjectRecord record, ConfiguredObject<?>... parents)
recover in interface ConfiguredObjectFactorypublic <X extends ConfiguredObject<X>> X create(Class<X> clazz, Map<String,Object> attributes, ConfiguredObject<?>... parents)
create in interface ConfiguredObjectFactorypublic <X extends ConfiguredObject<X>> com.google.common.util.concurrent.ListenableFuture<X> createAsync(Class<X> clazz, Map<String,Object> attributes, ConfiguredObject<?>... parents)
createAsync in interface ConfiguredObjectFactorypublic <X extends ConfiguredObject<X>> ConfiguredObjectTypeFactory<X> getConfiguredObjectTypeFactory(Class<X> categoryClass, Map<String,Object> attributes)
getConfiguredObjectTypeFactory in interface ConfiguredObjectFactorypublic <X extends ConfiguredObject<X>> ConfiguredObjectTypeFactory<X> getConfiguredObjectTypeFactory(String category, String type)
getConfiguredObjectTypeFactory in interface ConfiguredObjectFactorypublic Collection<String> getSupportedTypes(Class<? extends ConfiguredObject> category)
getSupportedTypes in interface ConfiguredObjectFactorypublic Model getModel()
getModel in interface ConfiguredObjectFactoryCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.