@NoImplement public interface MetadataProvider<T extends ComponentModel>
Message
to expose its metadata descriptor, containing all the
MetadataType
information associated to the Component's input and output elementsModifier and Type | Method and Description |
---|---|
MetadataResult<ComponentMetadataDescriptor<T>> |
getMetadata()
Resolves the
ComponentMetadataDescriptor for the current component using only the static types of the Component's
parameters, attributes and output. |
MetadataResult<ComponentMetadataDescriptor<T>> |
getMetadata(MetadataKey key)
Resolves the
ComponentMetadataDescriptor for the current component using both static and dynamic resolving of the
Component's parameters, attributes and output. |
MetadataResult<ComponentMetadataDescriptor<T>> getMetadata() throws MetadataResolvingException
ComponentMetadataDescriptor
for the current component using only the static types of the Component's
parameters, attributes and output.ComponentMetadataDescriptor
with the Static Metadata representation of the Component. Successful
MetadataResult
if the Metadata is successfully retrieved Failure MetadataResult
when the Metadata
retrieval of any element fails for any reasonMetadataResolvingException
- if an error occurs while creating the MetadataContext
MetadataResult<ComponentMetadataDescriptor<T>> getMetadata(MetadataKey key) throws MetadataResolvingException
ComponentMetadataDescriptor
for the current component using both static and dynamic resolving of the
Component's parameters, attributes and output.
If the component has a InputTypeResolver
or OutputTypeResolver
associated that can be used to
resolve the Dynamic MetadataType
for the Content or Output, then the ComponentMetadataDescriptor
will contain
those Dynamic types instead of the static type declaration.
When neither Content nor Output have Dynamic types, then invoking this method is the same as invoking
getMetadata()
key
- MetadataKey
of the type which's structure has to be resolved, used both for input and output typesMetadataResult
of ComponentMetadataDescriptor
type with Successful MetadataResult
if the
Metadata is successfully retrieved and a Failed MetadataResult
when the Metadata retrieval of any element
fails for any reasonMetadataResolvingException
- if an error occurs while creating the MetadataContext
Copyright © 2018. All rights reserved.