org.mule.module.launcher
Class ArchiveDeployer<T extends Artifact>
java.lang.Object
org.mule.module.launcher.ArchiveDeployer<T>
public class ArchiveDeployer<T extends Artifact>
- extends Object
Deployer of an artifact within mule container.
- Keeps track of deployed artifacts
- Avoid already deployed artifacts to be redeployed
- Deploys, undeploys, redeploys packaged and exploded artifacts
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARTIFACT_NAME_PROPERTY
public static final String ARTIFACT_NAME_PROPERTY
- See Also:
- Constant Field Values
ZIP_FILE_SUFFIX
public static final String ZIP_FILE_SUFFIX
- See Also:
- Constant Field Values
ANOTHER_DEPLOYMENT_OPERATION_IS_IN_PROGRESS
public static final String ANOTHER_DEPLOYMENT_OPERATION_IS_IN_PROGRESS
- See Also:
- Constant Field Values
INSTALL_OPERATION_HAS_BEEN_INTERRUPTED
public static final String INSTALL_OPERATION_HAS_BEEN_INTERRUPTED
- See Also:
- Constant Field Values
ArchiveDeployer
public ArchiveDeployer(ArtifactDeployer deployer,
ArtifactFactory artifactFactory,
ObservableList<T> artifacts,
ReentrantLock lock)
deployPackagedArtifact
public void deployPackagedArtifact(String zip)
throws DeploymentException
- Throws:
DeploymentException
deployExplodedArtifact
public void deployExplodedArtifact(String artifactDir)
throws DeploymentException
- Throws:
DeploymentException
undeployArtifact
public void undeployArtifact(String artifactDir)
deployPackagedArtifact
public void deployPackagedArtifact(URL artifactAchivedUrl)
throws DeploymentException
- Throws:
DeploymentException
setDeploymentListener
public void setDeploymentListener(CompositeDeploymentListener deploymentListener)
redeploy
public void redeploy(T artifact)
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.