public final class ConfigurationObjectBuilder<T> extends ResolverSetBasedObjectBuilder<org.mule.runtime.api.util.Pair<T,ResolverSetResult>>
ObjectBuilder to create instances that match a given ConfigurationModel.
The object instances are created through the ConfigurationFactory.newInstance() method. A ResolverSet is also
used to automatically set this builders properties. The name of the properties in the ResolverSet must match the name
of an actual property in the prototype class
expressionManager, reflectionCache, resolverSet| Constructor and Description |
|---|
ConfigurationObjectBuilder(org.mule.runtime.api.meta.model.config.ConfigurationModel configurationModel,
ResolverSet resolverSet,
ExpressionManager expressionManager,
MuleContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.util.Pair<T,ResolverSetResult> |
build(ResolverSetResult result) |
protected org.mule.runtime.api.util.Pair<T,ResolverSetResult> |
instantiateObject()
Creates a new instance by using the
ConfigurationFactory in the ConfigurationFactoryModelProperty |
build, getReflectionCache, initialise, isDynamic, populatepublic ConfigurationObjectBuilder(org.mule.runtime.api.meta.model.config.ConfigurationModel configurationModel,
ResolverSet resolverSet,
ExpressionManager expressionManager,
MuleContext ctx)
protected org.mule.runtime.api.util.Pair<T,ResolverSetResult> instantiateObject()
ConfigurationFactory in the ConfigurationFactoryModelPropertyinstantiateObject in class ResolverSetBasedObjectBuilder<org.mule.runtime.api.util.Pair<T,ResolverSetResult>>public org.mule.runtime.api.util.Pair<T,ResolverSetResult> build(ResolverSetResult result) throws org.mule.runtime.api.exception.MuleException
build in class ResolverSetBasedObjectBuilder<org.mule.runtime.api.util.Pair<T,ResolverSetResult>>org.mule.runtime.api.exception.MuleExceptionCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.