T
- type of the object to be createdpublic interface ConfigurableInstanceFactory<T>
ConfigurableObjectFactory
.
Implementations of this interfaces must be injected into ConfigurableObjectFactory
by using a
AttributeDefinition.Builder#fromFixedValue(Object)
when declaring the
ComponentBuildingDefinition
.
Modifier and Type | Method and Description |
---|---|
T |
createInstance(Map<String,Object> parameters)
Creates the object to be used at runtime.
|
T createInstance(Map<String,Object> parameters)
parameters
- the set of configuration parameters according to the ComponentBuildingDefinition
configuration.Copyright © 2018. All rights reserved.