org.mule.module.launcher
Class DomainArchiveDeployer
java.lang.Object
org.mule.module.launcher.DomainArchiveDeployer
- All Implemented Interfaces:
- ArchiveDeployer<Domain>
public class DomainArchiveDeployer
- extends Object
- implements ArchiveDeployer<Domain>
Archive deployer for domains.
Knows how to deploy / undeploy a domain and a domain bundle (zip with domain + domains apps).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMAIN_BUNDLE_APPS_FOLDER
public static final String DOMAIN_BUNDLE_APPS_FOLDER
- See Also:
- Constant Field Values
DomainArchiveDeployer
public DomainArchiveDeployer(ArchiveDeployer<Domain> domainDeployer,
ArchiveDeployer<Application> applicationDeployer,
DeploymentService deploymentService)
deployPackagedArtifact
public Domain deployPackagedArtifact(String zip)
throws DeploymentException
- Specified by:
deployPackagedArtifact in interface ArchiveDeployer<Domain>
- Throws:
DeploymentException
deployExplodedArtifact
public Domain deployExplodedArtifact(String artifactDir)
throws DeploymentException
- Specified by:
deployExplodedArtifact in interface ArchiveDeployer<Domain>
- Throws:
DeploymentException
deployPackagedArtifact
public Domain deployPackagedArtifact(URL artifactAchivedUrl)
- Specified by:
deployPackagedArtifact in interface ArchiveDeployer<Domain>
undeployArtifact
public void undeployArtifact(String artifactId)
- Undeploys a domain.
Before undeploying the domain it undeploys the applications
associated.
- Specified by:
undeployArtifact in interface ArchiveDeployer<Domain>
- Parameters:
artifactId - domain name to undeploy
getDeploymentDirectory
public File getDeploymentDirectory()
- Specified by:
getDeploymentDirectory in interface ArchiveDeployer<Domain>
setDeploymentListener
public void setDeploymentListener(CompositeDeploymentListener deploymentListener)
- Specified by:
setDeploymentListener in interface ArchiveDeployer<Domain>
redeploy
public void redeploy(Domain artifact)
- Specified by:
redeploy in interface ArchiveDeployer<Domain>
getArtifactsZombieMap
public Map<URL,Long> getArtifactsZombieMap()
- Specified by:
getArtifactsZombieMap in interface ArchiveDeployer<Domain>
setArtifactFactory
public void setArtifactFactory(ArtifactFactory<Domain> artifactFactory)
- Specified by:
setArtifactFactory in interface ArchiveDeployer<Domain>
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.