public interface DeclarationMetadataCache
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.ComponentMetadataTypesDescriptor> |
getComponentMetadata(org.mule.runtime.app.declaration.api.ComponentElementDeclaration<?> componentElementDeclaration,
Callable<org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.ComponentMetadataTypesDescriptor>> resolver,
boolean forceResolution)
Gets the source metadata for the given
ComponentElementDeclaration, if not present the Callable should be
called and result stored in order to resolve the metadata. |
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer> |
getMetadataKeys(org.mule.runtime.app.declaration.api.ComponentElementDeclaration elementDeclaration,
Callable<org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer>> resolver,
boolean forceResolution)
Gets the key metadata for the given ElementDeclaration) , if not present the {@link Callable} should be called and
result stored in order to resolve the metadata.
|
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer> |
getMetadataKeysPartialFetch(org.mule.runtime.api.meta.model.parameter.ParameterizedModel parameterizedModel,
org.mule.runtime.app.declaration.api.ComponentElementDeclaration elementDeclaration,
Callable<org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer>> resolver,
boolean forceResolution)
Gets the key metadata for the given ElementDeclaration) , if not present the {@link Callable} should be called and
result stored in order to resolve the metadata.
|
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.ComponentMetadataTypesDescriptor> getComponentMetadata(org.mule.runtime.app.declaration.api.ComponentElementDeclaration<?> componentElementDeclaration,
Callable<org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.ComponentMetadataTypesDescriptor>> resolver,
boolean forceResolution)
ComponentElementDeclaration, if not present the Callable should be
called and result stored in order to resolve the metadata.componentElementDeclaration - of the component for which to get the metadataresolver - the callback that knows how to fetch the metadata on Mule Runtime.forceResolution - call the resolver even if there is a value stored in the cache and override it with the
new resultorg.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer> getMetadataKeys(org.mule.runtime.app.declaration.api.ComponentElementDeclaration elementDeclaration,
Callable<org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer>> resolver,
boolean forceResolution)
elementDeclaration - of the component for which to get the metadata keysresolver - the callback that knows how to fetch the metadata on Mule Runtime.forceResolution - call the resolver even if there is a value stored in the cache and override it with the new result.org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer> getMetadataKeysPartialFetch(org.mule.runtime.api.meta.model.parameter.ParameterizedModel parameterizedModel,
org.mule.runtime.app.declaration.api.ComponentElementDeclaration elementDeclaration,
Callable<org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer>> resolver,
boolean forceResolution)
parameterizedModel - the model to which the resolution of keys would be made.elementDeclaration - of the component for which to get the metadata keys.resolver - the callback that knows how to fetch the metadata on Mule Runtime.forceResolution - call the resolver even if there is a value stored in the cache and override it with the new result,
for partial fetch the upper level entries with the given partial key would be also removed from
cache.Copyright © 2024 MuleSoft, Inc.. All rights reserved.