public class LazyMetadataService extends Object implements org.mule.runtime.api.metadata.MetadataService
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,
org.mule.runtime.api.metadata.MetadataService metadataService) |
| 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.metadata.ComponentId componentId) |
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.descriptor.TypeMetadataDescriptor> |
getEntityMetadata(org.mule.runtime.api.metadata.ComponentId componentId,
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.metadata.ComponentId componentId) |
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.metadata.ComponentId componentId) |
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.metadata.ComponentId componentId,
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.metadata.ComponentId componentId) |
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.metadata.ComponentId componentId,
org.mule.runtime.api.metadata.MetadataKey key) |
public LazyMetadataService(LazyMuleArtifactContext lazyMuleArtifactContext, org.mule.runtime.api.metadata.MetadataService metadataService)
public org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer> getMetadataKeys(org.mule.runtime.api.metadata.ComponentId componentId)
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.metadata.ComponentId componentId)
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.metadata.ComponentId componentId,
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.metadata.ComponentId componentId)
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.metadata.ComponentId componentId,
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.metadata.ComponentId componentId)
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.metadata.ComponentId componentId,
org.mule.runtime.api.metadata.MetadataKey key)
getEntityMetadata in interface org.mule.runtime.api.metadata.MetadataServiceCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.