public class MuleMetadataService extends Object implements org.mule.runtime.api.metadata.MetadataService, org.mule.runtime.api.lifecycle.Initialisable
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.MetadataCache |
getMetadataCache(String id) |
Map<String,? extends org.mule.runtime.api.metadata.MetadataCache> |
getMetadataCaches() |
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.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.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()
Initialize this instance by registering a
CustomNotificationListener |
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
CustomNotificationListenerinitialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic 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.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)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.