public class MuleMetadataService extends Object implements org.mule.runtime.api.metadata.MetadataService
MetadataService, which provides access to the Metadata of any Component in the
application, using it's Location. Requires the injection of the MuleContext, to be able to lookup the component
inside the Mule App flows using the given Location| Constructor and Description |
|---|
MuleMetadataService() |
| 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.MetadataCache |
getMetadataCache(String id) |
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 |
saveCache(String id,
org.mule.runtime.api.metadata.MetadataCache cache) |
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,
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.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.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 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.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 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 void disposeCache(String id)
disposeCache in interface org.mule.runtime.api.metadata.MetadataServicepublic org.mule.runtime.api.metadata.MetadataCache getMetadataCache(String id)
public void saveCache(String id, org.mule.runtime.api.metadata.MetadataCache cache)
Copyright © 2003–2023 MuleSoft, Inc.. All rights reserved.