public class ConfigurableObjectFactory<T> extends AbstractAnnotatedObjectFactory<T>
| Constructor and Description |
|---|
ConfigurableObjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
T |
doGetObject() |
void |
setCommonConfiguratorType(Class<ObjectFactoryCommonConfigurator> commonConfiguratorType)
injection method for the
ObjectFactoryCommonConfigurator of the object instance. |
void |
setFactory(ConfigurableInstanceFactory factory)
Sets a
ConfigurableInstanceFactory to create a do custom configuration for the object to be used at runtime. |
void |
setParameters(Map<String,Object> parameters) |
getAnnotation, getAnnotations, getLocation, getObject, setAnnotationspublic T doGetObject() throws Exception
doGetObject in class AbstractAnnotatedObjectFactory<T>Exceptionpublic void setCommonConfiguratorType(Class<ObjectFactoryCommonConfigurator> commonConfiguratorType)
ObjectFactoryCommonConfigurator of the object instance.commonConfiguratorType - the common configuration type.public void setFactory(ConfigurableInstanceFactory factory)
ConfigurableInstanceFactory to create a do custom configuration for the object to be used at runtime.factory - the factory to create the runtime object instance.public void setParameters(Map<String,Object> parameters)
parameters - set of component parameters map to this ObjectFactoryCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.