public class DefaultPolicyTemplateFactory extends Object implements PolicyTemplateFactory
DefaultPolicyTemplate instances.| Constructor and Description |
|---|
DefaultPolicyTemplateFactory(PolicyTemplateClassLoaderBuilderFactory policyTemplateClassLoaderBuilderFactory,
PluginDependenciesResolver pluginDependenciesResolver,
LicenseValidator licenseValidator)
Creates a new factory
|
| Modifier and Type | Method and Description |
|---|---|
PolicyTemplate |
createArtifact(Application application,
PolicyTemplateDescriptor descriptor)
Creates a new policy template artifact
|
public DefaultPolicyTemplateFactory(PolicyTemplateClassLoaderBuilderFactory policyTemplateClassLoaderBuilderFactory, PluginDependenciesResolver pluginDependenciesResolver, LicenseValidator licenseValidator)
policyTemplateClassLoaderBuilderFactory - creates class loader builders to create the class loaders for the created
policy templates. Non null.public PolicyTemplate createArtifact(Application application, PolicyTemplateDescriptor descriptor)
PolicyTemplateFactorycreateArtifact in interface PolicyTemplateFactoryapplication - class loader where the policy template's class loader will be included. Non null.descriptor - describes how to build a policy template artifact. Non nullPolicyTemplate artifact from the provided descriptor as a member of the region.Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.