public final class SourceConfigurer extends Object
Source that has fields annotated with Parameter or
ParameterGroupDescriptor| Constructor and Description |
|---|
SourceConfigurer(org.mule.runtime.api.meta.model.source.SourceModel model,
org.mule.runtime.api.component.location.ComponentLocation componentLocation,
ResolverSet resolverSet,
ExpressionManager expressionManager,
MuleContext muleContext)
Create a new instance
|
SourceConfigurer(org.mule.runtime.api.meta.model.source.SourceModel model,
org.mule.runtime.api.component.location.ComponentLocation componentLocation,
ResolverSet resolverSet,
ExpressionManager expressionManager,
MuleContext muleContext,
boolean restarting)
Create a new instance
|
| Modifier and Type | Method and Description |
|---|---|
org.mule.sdk.api.runtime.source.Source |
configure(Object source,
Optional<org.mule.runtime.extension.api.runtime.config.ConfigurationInstance> config)
Performs the configuration of the given
source and returns the result |
public SourceConfigurer(org.mule.runtime.api.meta.model.source.SourceModel model,
org.mule.runtime.api.component.location.ComponentLocation componentLocation,
ResolverSet resolverSet,
ExpressionManager expressionManager,
MuleContext muleContext)
model - the SourceModel which describes the instances that the #configure(Source, Optional)
method will acceptresolverSet - the ResolverSet used to resolve the parametersexpressionManager - the ExpressionManager used to create a session used to evaluate the attributes.muleContext - the current MuleContextpublic SourceConfigurer(org.mule.runtime.api.meta.model.source.SourceModel model,
org.mule.runtime.api.component.location.ComponentLocation componentLocation,
ResolverSet resolverSet,
ExpressionManager expressionManager,
MuleContext muleContext,
boolean restarting)
model - the SourceModel which describes the instances that the #configure(Source, Optional)
method will acceptresolverSet - the ResolverSet used to resolve the parametersexpressionManager - the ExpressionManager used to create a session used to evaluate the attributes.properties - deployment configuration propertiesmuleContext - the current MuleContextrestarting - indicates if the source is being created after a restart or not.public org.mule.sdk.api.runtime.source.Source configure(Object source, Optional<org.mule.runtime.extension.api.runtime.config.ConfigurationInstance> config)
source and returns the resultsource - a Sourceconfig - the config instance associated to this source object.org.mule.runtime.api.exception.MuleExceptionCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.