public class ServerPluginDescriptorFactory extends org.mule.runtime.module.artifact.api.descriptor.AbstractArtifactDescriptorFactory<org.mule.runtime.api.deployment.meta.MuleServerPluginModel,ServerPluginDescriptor>
ServerPluginDescriptor from a folder with a plugin structure.| Constructor and Description |
|---|
ServerPluginDescriptorFactory(org.mule.runtime.module.artifact.api.descriptor.DescriptorLoaderRepository descriptorLoaderRepository,
org.mule.runtime.module.artifact.api.descriptor.ArtifactDescriptorValidatorBuilder artifactDescriptorValidatorBuilder)
Creates a new factory
|
| Modifier and Type | Method and Description |
|---|---|
ServerPluginDescriptor |
create(File pluginFolder,
Optional<Properties> properties) |
protected ServerPluginDescriptor |
createArtifactDescriptor(File artifactLocation,
String name,
Optional<Properties> deploymentProperties) |
protected void |
doDescriptorConfig(org.mule.runtime.api.deployment.meta.MuleServerPluginModel artifactModel,
ServerPluginDescriptor descriptor,
File artifactLocation) |
protected org.mule.runtime.core.api.config.bootstrap.ArtifactType |
getArtifactType() |
protected org.mule.runtime.api.deployment.persistence.AbstractMuleArtifactModelJsonSerializer<org.mule.runtime.api.deployment.meta.MuleServerPluginModel> |
getMuleArtifactModelJsonSerializer() |
createArtifact, createArtifactModel, getBundleDescriptor, getBundleDescriptorAttributes, getClassLoaderModelAttributes, invalidBundleDescriptorLoaderIdError, invalidClassLoaderModelIdError, loadFromJsonDescriptor, loadModelFromJsonpublic ServerPluginDescriptorFactory(org.mule.runtime.module.artifact.api.descriptor.DescriptorLoaderRepository descriptorLoaderRepository,
org.mule.runtime.module.artifact.api.descriptor.ArtifactDescriptorValidatorBuilder artifactDescriptorValidatorBuilder)
descriptorLoaderRepository - contains all the ClassLoaderModelLoader registered on the container. Non
nullartifactDescriptorValidatorBuilder - ArtifactDescriptorValidatorBuilder to build the validator to check the
descriptor. Non null.protected org.mule.runtime.core.api.config.bootstrap.ArtifactType getArtifactType()
getArtifactType in class org.mule.runtime.module.artifact.api.descriptor.AbstractArtifactDescriptorFactory<org.mule.runtime.api.deployment.meta.MuleServerPluginModel,ServerPluginDescriptor>public ServerPluginDescriptor create(File pluginFolder, Optional<Properties> properties) throws org.mule.runtime.module.artifact.api.descriptor.ArtifactDescriptorCreateException
create in interface org.mule.runtime.module.artifact.api.descriptor.ArtifactDescriptorFactory<ServerPluginDescriptor>create in class org.mule.runtime.module.artifact.api.descriptor.AbstractArtifactDescriptorFactory<org.mule.runtime.api.deployment.meta.MuleServerPluginModel,ServerPluginDescriptor>org.mule.runtime.module.artifact.api.descriptor.ArtifactDescriptorCreateExceptionprotected void doDescriptorConfig(org.mule.runtime.api.deployment.meta.MuleServerPluginModel artifactModel,
ServerPluginDescriptor descriptor,
File artifactLocation)
doDescriptorConfig in class org.mule.runtime.module.artifact.api.descriptor.AbstractArtifactDescriptorFactory<org.mule.runtime.api.deployment.meta.MuleServerPluginModel,ServerPluginDescriptor>protected ServerPluginDescriptor createArtifactDescriptor(File artifactLocation, String name, Optional<Properties> deploymentProperties)
createArtifactDescriptor in class org.mule.runtime.module.artifact.api.descriptor.AbstractArtifactDescriptorFactory<org.mule.runtime.api.deployment.meta.MuleServerPluginModel,ServerPluginDescriptor>protected org.mule.runtime.api.deployment.persistence.AbstractMuleArtifactModelJsonSerializer<org.mule.runtime.api.deployment.meta.MuleServerPluginModel> getMuleArtifactModelJsonSerializer()
getMuleArtifactModelJsonSerializer in class org.mule.runtime.module.artifact.api.descriptor.AbstractArtifactDescriptorFactory<org.mule.runtime.api.deployment.meta.MuleServerPluginModel,ServerPluginDescriptor>Copyright © 2006–2022 MuleSoft, Inc.. All rights reserved.