T
- the generic type of the instances providedpublic final class StaticConfigurationInstanceProvider<T> extends Object implements org.mule.extension.runtime.ConfigurationInstanceProvider<T>
ConfigurationInstanceProvider
which provides always the same configurationInstance
.Constructor and Description |
---|
StaticConfigurationInstanceProvider(T configurationInstance) |
public StaticConfigurationInstanceProvider(T configurationInstance)
public T get(org.mule.extension.runtime.OperationContext operationContext)
configurationInstance
.
The first time this method is invoked, the instance
is registered on the registrationCallback
get
in interface org.mule.extension.runtime.ConfigurationInstanceProvider<T>
operationContext
- the context
of the Operation
being executedconfigurationInstance
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.