public class DefaultMetadataContext extends ExtensionResolvingContext implements org.mule.runtime.api.metadata.MetadataContext
MetadataContext, it provides access to the extension configuration and
connection in the metadata fetch invocation.| Constructor and Description |
|---|
DefaultMetadataContext(Supplier<Optional<org.mule.runtime.extension.api.runtime.config.ConfigurationInstance>> configurationSupplier,
ConnectionManager connectionManager,
org.mule.runtime.api.metadata.MetadataCache cache,
org.mule.metadata.api.ClassTypeLoader typeLoader)
Retrieves the configuration for the related component
|
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.metadata.MetadataCache |
getCache() |
org.mule.metadata.api.builder.BaseTypeBuilder |
getTypeBuilder() |
org.mule.metadata.api.ClassTypeLoader |
getTypeLoader() |
dispose, getConfig, getConnectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic DefaultMetadataContext(Supplier<Optional<org.mule.runtime.extension.api.runtime.config.ConfigurationInstance>> configurationSupplier, ConnectionManager connectionManager, org.mule.runtime.api.metadata.MetadataCache cache, org.mule.metadata.api.ClassTypeLoader typeLoader)
configurationSupplier - Supplier of optional configurationsconnectionManager - ConnectionManager which is able to find a connection for the component using
the cache - instance of the MetadataCache for this contexttypeLoader - instance of a ClassTypeLoader in the context of this extensionpublic org.mule.runtime.api.metadata.MetadataCache getCache()
getCache in interface org.mule.runtime.api.metadata.MetadataContextpublic org.mule.metadata.api.ClassTypeLoader getTypeLoader()
getTypeLoader in interface org.mule.runtime.api.metadata.MetadataContextpublic org.mule.metadata.api.builder.BaseTypeBuilder getTypeBuilder()
getTypeBuilder in interface org.mule.runtime.api.metadata.MetadataContextCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.