public interface ExtensionManagerAdapter
extends org.mule.extension.ExtensionManager, org.mule.extension.runtime.ConfigurationInstanceRegistrationCallback
ExtensionManager
with functionality
that is internal to this implementation of the extensions API and that extensions
themselves shouldn't be able to accessModifier and Type | Method and Description |
---|---|
<C> C |
getConfigurationInstance(org.mule.extension.introspection.Extension extension,
org.mule.extension.runtime.OperationContext operationContext) |
<C> C |
getConfigurationInstance(org.mule.extension.introspection.Extension extension,
String configurationInstanceProviderName,
org.mule.extension.runtime.OperationContext operationContext)
Returns a configuration instance obtained through a
ConfigurationInstanceProvider
previously registered using the ExtensionManager.registerConfigurationInstanceProvider(Extension, String, ConfigurationInstanceProvider)
under the given configurationInstanceProviderName . |
<C> C getConfigurationInstance(org.mule.extension.introspection.Extension extension, String configurationInstanceProviderName, org.mule.extension.runtime.OperationContext operationContext)
ConfigurationInstanceProvider
previously registered using the ExtensionManager.registerConfigurationInstanceProvider(Extension, String, ConfigurationInstanceProvider)
under the given configurationInstanceProviderName
.
After the ConfigurationInstanceProvider
has been located, an instance is returned by
invoking its ConfigurationInstanceProvider.get(OperationContext)
with operationContext
as the argument.C
- the type of the configuration instance to be returnedextension
- the Extension
that owns the Configuration
configurationInstanceProviderName
- the name of a previously registered ConfigurationInstanceProvider
operationContext
- a OperationContext
<C> C getConfigurationInstance(org.mule.extension.introspection.Extension extension, org.mule.extension.runtime.OperationContext operationContext)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.