public class LazyMetadataService extends Object implements org.mule.runtime.api.metadata.MetadataService, org.mule.runtime.api.lifecycle.Initialisable
MetadataService implementation that initialises the required components before doing test connectivity.
This guarantees that if the application has been created lazily, the requested components exists before the execution of the
actual MetadataService.| Constructor and Description |
|---|
LazyMetadataService(LazyMuleArtifactContext lazyMuleArtifactContext,
Supplier<org.mule.runtime.api.metadata.MetadataService> metadataServiceSupplier) |
| Modifier and Type | Method and Description |
|---|---|
void |
disposeCache(String id) |
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer> |
getEntityKeys(org.mule.runtime.api.component.location.Location location) |
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.TypeMetadataDescriptor> |
getEntityMetadata(org.mule.runtime.api.component.location.Location location,
org.mule.runtime.api.metadata.MetadataKey key) |
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.InputMetadataDescriptor> |
getInputMetadata(org.mule.runtime.api.component.location.Location location,
org.mule.runtime.api.metadata.MetadataKey key) |
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer> |
getMetadataKeys(org.mule.runtime.api.component.location.Location location) |
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer> |
getMetadataKeys(org.mule.runtime.api.component.location.Location location,
org.mule.runtime.api.metadata.MetadataKey partialKey) |
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.ComponentMetadataDescriptor<org.mule.runtime.api.meta.model.operation.OperationModel>> |
getOperationMetadata(org.mule.runtime.api.component.location.Location location) |
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.ComponentMetadataDescriptor<org.mule.runtime.api.meta.model.operation.OperationModel>> |
getOperationMetadata(org.mule.runtime.api.component.location.Location location,
org.mule.runtime.api.metadata.MetadataKey key) |
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.OutputMetadataDescriptor> |
getOutputMetadata(org.mule.runtime.api.component.location.Location location,
org.mule.runtime.api.metadata.MetadataKey key) |
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.ComponentMetadataDescriptor<org.mule.runtime.api.meta.model.source.SourceModel>> |
getSourceMetadata(org.mule.runtime.api.component.location.Location location) |
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.ComponentMetadataDescriptor<org.mule.runtime.api.meta.model.source.SourceModel>> |
getSourceMetadata(org.mule.runtime.api.component.location.Location location,
org.mule.runtime.api.metadata.MetadataKey key) |
void |
initialise() |
public LazyMetadataService(LazyMuleArtifactContext lazyMuleArtifactContext, Supplier<org.mule.runtime.api.metadata.MetadataService> metadataServiceSupplier)
public org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer> getMetadataKeys(org.mule.runtime.api.component.location.Location location)
getMetadataKeys in interface org.mule.runtime.api.metadata.MetadataServicepublic org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer> getMetadataKeys(org.mule.runtime.api.component.location.Location location,
org.mule.runtime.api.metadata.MetadataKey partialKey)
getMetadataKeys in interface org.mule.runtime.api.metadata.MetadataServicepublic org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.InputMetadataDescriptor> getInputMetadata(org.mule.runtime.api.component.location.Location location,
org.mule.runtime.api.metadata.MetadataKey key)
getInputMetadata in interface org.mule.runtime.api.metadata.MetadataServicepublic org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.OutputMetadataDescriptor> getOutputMetadata(org.mule.runtime.api.component.location.Location location,
org.mule.runtime.api.metadata.MetadataKey key)
getOutputMetadata in interface org.mule.runtime.api.metadata.MetadataServicepublic org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.ComponentMetadataDescriptor<org.mule.runtime.api.meta.model.operation.OperationModel>> getOperationMetadata(org.mule.runtime.api.component.location.Location location)
getOperationMetadata in interface org.mule.runtime.api.metadata.MetadataServicepublic org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.ComponentMetadataDescriptor<org.mule.runtime.api.meta.model.operation.OperationModel>> getOperationMetadata(org.mule.runtime.api.component.location.Location location,
org.mule.runtime.api.metadata.MetadataKey key)
getOperationMetadata in interface org.mule.runtime.api.metadata.MetadataServicepublic org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.ComponentMetadataDescriptor<org.mule.runtime.api.meta.model.source.SourceModel>> getSourceMetadata(org.mule.runtime.api.component.location.Location location)
getSourceMetadata in interface org.mule.runtime.api.metadata.MetadataServicepublic org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.ComponentMetadataDescriptor<org.mule.runtime.api.meta.model.source.SourceModel>> getSourceMetadata(org.mule.runtime.api.component.location.Location location,
org.mule.runtime.api.metadata.MetadataKey key)
getSourceMetadata in interface org.mule.runtime.api.metadata.MetadataServicepublic void disposeCache(String id)
disposeCache in interface org.mule.runtime.api.metadata.MetadataServicepublic org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer> getEntityKeys(org.mule.runtime.api.component.location.Location location)
getEntityKeys in interface org.mule.runtime.api.metadata.MetadataServicepublic org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.TypeMetadataDescriptor> getEntityMetadata(org.mule.runtime.api.component.location.Location location,
org.mule.runtime.api.metadata.MetadataKey key)
getEntityMetadata in interface org.mule.runtime.api.metadata.MetadataServicepublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionCopyright © 2003–2025 MuleSoft, Inc.. All rights reserved.