public class DelegateMetadataCacheIdGeneratorFactory extends Object implements MetadataCacheIdGeneratorFactory<org.mule.runtime.ast.api.ComponentAst>, org.mule.runtime.api.lifecycle.Initialisable
METADATA_CACHE_ID_GENERATOR_KEY| Constructor and Description |
|---|
DelegateMetadataCacheIdGeneratorFactory(Supplier<MetadataCacheIdGeneratorFactory<org.mule.runtime.ast.api.ComponentAst>> metadataCacheIdGeneratorFactorySupplier) |
| Modifier and Type | Method and Description |
|---|---|
MetadataCacheIdGenerator<org.mule.runtime.ast.api.ComponentAst> |
create(org.mule.runtime.api.dsl.DslResolvingContext context,
ComponentLocator<org.mule.runtime.ast.api.ComponentAst> locator)
Creates a new
MetadataCacheIdGenerator valid for the given context information provided. |
void |
initialise() |
public DelegateMetadataCacheIdGeneratorFactory(Supplier<MetadataCacheIdGeneratorFactory<org.mule.runtime.ast.api.ComponentAst>> metadataCacheIdGeneratorFactorySupplier)
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic MetadataCacheIdGenerator<org.mule.runtime.ast.api.ComponentAst> create(org.mule.runtime.api.dsl.DslResolvingContext context, ComponentLocator<org.mule.runtime.ast.api.ComponentAst> locator)
MetadataCacheIdGeneratorFactoryMetadataCacheIdGenerator valid for the given context information provided.create in interface MetadataCacheIdGeneratorFactory<org.mule.runtime.ast.api.ComponentAst>context - the DslResolvingContext in which the generator will be used.locator - a ComponentLocator that allows the generator to locate any component in the current context.MetadataCacheIdGenerator valid for the given context.Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.