public interface CapabilityExtractor
Class
that composes a Capable
Because actual capabilities might be defined across several modules (or even extensions!)
the actual extractors are fetched through SPI, using a ServiceRegistry
.
Each implementation of this class has to aim to one and only one specific capability type. It's
this extractor's responsibility to ignore the capabilities which are outside of its domain
and to ignore any extension types which don't support the given capabilityModifier and Type | Method and Description |
---|---|
Object |
extractCapability(org.mule.extension.introspection.declaration.fluent.DeclarationDescriptor declarationDescriptor,
Class<?> capableType)
Looks for a specific capability in the given
extensionType and returns it. |
Object extractCapability(org.mule.extension.introspection.declaration.fluent.DeclarationDescriptor declarationDescriptor, Class<?> capableType)
extensionType
and returns it.declarationDescriptor
- the descriptor that is being builtcapableType
- the type of the Capable
classnull
if none foundCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.