public class DomainArchiveDeployer extends Object implements ArchiveDeployer<Domain>
| Modifier and Type | Field and Description |
|---|---|
static String |
DOMAIN_BUNDLE_APPS_FOLDER |
| Constructor and Description |
|---|
DomainArchiveDeployer(ArchiveDeployer<Domain> domainDeployer,
ArchiveDeployer<Application> applicationDeployer,
DeploymentService deploymentService) |
| Modifier and Type | Method and Description |
|---|---|
void |
deployArtifact(Domain artifact) |
Domain |
deployExplodedArtifact(String artifactDir) |
Domain |
deployPackagedArtifact(String zip) |
Domain |
deployPackagedArtifact(URI artifactAchivedUrl) |
Map<String,Map<URI,Long>> |
getArtifactsZombieMap() |
File |
getDeploymentDirectory() |
boolean |
isUpdatedZombieArtifact(String artifactName)
Indicates if a previously failed artifact (zombie) configuration was updated on the file system.
|
void |
redeploy(Domain artifact) |
void |
setArtifactFactory(ArtifactFactory<Domain> artifactFactory) |
void |
setDeploymentListener(CompositeDeploymentListener deploymentListener) |
void |
undeployArtifact(String artifactId)
Undeploys a domain.
|
void |
undeployArtifactWithoutUninstall(Domain artifact) |
public static final String DOMAIN_BUNDLE_APPS_FOLDER
public DomainArchiveDeployer(ArchiveDeployer<Domain> domainDeployer, ArchiveDeployer<Application> applicationDeployer, DeploymentService deploymentService)
public boolean isUpdatedZombieArtifact(String artifactName)
ArchiveDeployerisUpdatedZombieArtifact in interface ArchiveDeployer<Domain>artifactName - name of the artifact to check. Non empty.public Domain deployPackagedArtifact(String zip) throws DeploymentException
deployPackagedArtifact in interface ArchiveDeployer<Domain>DeploymentExceptionpublic Domain deployExplodedArtifact(String artifactDir) throws DeploymentException
deployExplodedArtifact in interface ArchiveDeployer<Domain>DeploymentExceptionpublic Domain deployPackagedArtifact(URI artifactAchivedUrl)
deployPackagedArtifact in interface ArchiveDeployer<Domain>public void undeployArtifact(String artifactId)
undeployArtifact in interface ArchiveDeployer<Domain>artifactId - domain name to undeploypublic File getDeploymentDirectory()
getDeploymentDirectory in interface ArchiveDeployer<Domain>public void setDeploymentListener(CompositeDeploymentListener deploymentListener)
setDeploymentListener in interface ArchiveDeployer<Domain>public void redeploy(Domain artifact) throws DeploymentException
redeploy in interface ArchiveDeployer<Domain>DeploymentExceptionpublic Map<String,Map<URI,Long>> getArtifactsZombieMap()
getArtifactsZombieMap in interface ArchiveDeployer<Domain>public void setArtifactFactory(ArtifactFactory<Domain> artifactFactory)
setArtifactFactory in interface ArchiveDeployer<Domain>public void undeployArtifactWithoutUninstall(Domain artifact)
undeployArtifactWithoutUninstall in interface ArchiveDeployer<Domain>public void deployArtifact(Domain artifact)
deployArtifact in interface ArchiveDeployer<Domain>Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.