public class PolicyTemplateDescriptorFactory extends Object implements ArtifactDescriptorFactory<PolicyTemplateDescriptor>
| Modifier and Type | Field and Description |
|---|---|
protected static String |
MISSING_POLICY_DESCRIPTOR_ERROR |
| Constructor and Description |
|---|
PolicyTemplateDescriptorFactory()
Creates a default factory
|
PolicyTemplateDescriptorFactory(ArtifactPluginDescriptorLoader artifactPluginDescriptorLoader,
DescriptorLoaderRepository descriptorLoaderRepository)
Creates a new factory
|
| Modifier and Type | Method and Description |
|---|---|
PolicyTemplateDescriptor |
create(File artifactFolder) |
protected static String |
invalidBundleDescriptorLoaderIdError(org.mule.runtime.api.deployment.meta.MuleArtifactLoaderDescriptor bundleDescriptorLoader) |
protected static String |
invalidClassLoaderModelIdError(org.mule.runtime.api.deployment.meta.MuleArtifactLoaderDescriptor muleArtifactLoaderDescriptor) |
protected static final String MISSING_POLICY_DESCRIPTOR_ERROR
public PolicyTemplateDescriptorFactory()
public PolicyTemplateDescriptorFactory(ArtifactPluginDescriptorLoader artifactPluginDescriptorLoader, DescriptorLoaderRepository descriptorLoaderRepository)
artifactPluginDescriptorLoader - loads the artifact descriptor for plugins used on the policy template. Non nulldescriptorLoaderRepository - contains all the ClassLoaderModelLoader registered on the container. Non nullpublic PolicyTemplateDescriptor create(File artifactFolder) throws ArtifactDescriptorCreateException
create in interface ArtifactDescriptorFactory<PolicyTemplateDescriptor>ArtifactDescriptorCreateExceptionprotected static String invalidBundleDescriptorLoaderIdError(org.mule.runtime.api.deployment.meta.MuleArtifactLoaderDescriptor bundleDescriptorLoader)
protected static String invalidClassLoaderModelIdError(org.mule.runtime.api.deployment.meta.MuleArtifactLoaderDescriptor muleArtifactLoaderDescriptor)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.