public interface MetadataContext extends Disposable
PHASE_NAME| Modifier and Type | Method and Description |
|---|---|
MetadataCache |
getCache() |
<C> Optional<C> |
getConfig() |
<C> Optional<C> |
getConnection()
Retrieves the connection for the related a component and configuration
|
org.mule.metadata.api.builder.BaseTypeBuilder |
getTypeBuilder() |
org.mule.metadata.api.ClassTypeLoader |
getTypeLoader() |
dispose<C> Optional<C> getConfig()
C - Configuration type<C> Optional<C> getConnection() throws ConnectionException
C - Connection typeConnectionException - when not valid connection is found for the related component and configurationorg.mule.metadata.api.ClassTypeLoader getTypeLoader()
ClassTypeLoader for the current MetadataContext.org.mule.metadata.api.builder.BaseTypeBuilder getTypeBuilder()
BaseTypeBuilder for the current MetadataContext.MetadataCache getCache()
MetadataCache associated with the MetadataContext.Copyright © 2017 MuleSoft, Inc.. All rights reserved.