public class DefaultArchiveDeployer<T extends Artifact> extends Object implements ArchiveDeployer<T>
| Modifier and Type | Field and Description |
|---|---|
static String |
ANOTHER_DEPLOYMENT_OPERATION_IS_IN_PROGRESS |
static String |
ARTIFACT_NAME_PROPERTY |
static String |
INSTALL_OPERATION_HAS_BEEN_INTERRUPTED |
static String |
ZIP_FILE_SUFFIX |
| Constructor and Description |
|---|
DefaultArchiveDeployer(ArtifactDeployer deployer,
ArtifactFactory artifactFactory,
ObservableList<T> artifacts,
ReentrantLock lock) |
| Modifier and Type | Method and Description |
|---|---|
void |
deployArtifact(T artifact) |
T |
deployExplodedArtifact(String artifactDir) |
T |
deployPackagedArtifact(String zip) |
T |
deployPackagedArtifact(URL artifactAchivedUrl) |
Map<URL,Long> |
getArtifactsZombieMap() |
File |
getDeploymentDirectory() |
void |
redeploy(T artifact) |
void |
setArtifactFactory(ArtifactFactory<T> artifactFactory) |
void |
setDeploymentListener(CompositeDeploymentListener deploymentListener) |
void |
undeployArtifact(String artifactId) |
void |
undeployArtifactWithoutUninstall(T artifact) |
public static final String ARTIFACT_NAME_PROPERTY
public static final String ZIP_FILE_SUFFIX
public static final String ANOTHER_DEPLOYMENT_OPERATION_IS_IN_PROGRESS
public static final String INSTALL_OPERATION_HAS_BEEN_INTERRUPTED
public DefaultArchiveDeployer(ArtifactDeployer deployer, ArtifactFactory artifactFactory, ObservableList<T> artifacts, ReentrantLock lock)
public T deployPackagedArtifact(String zip) throws DeploymentException
deployPackagedArtifact in interface ArchiveDeployer<T extends Artifact>DeploymentExceptionpublic T deployExplodedArtifact(String artifactDir) throws DeploymentException
deployExplodedArtifact in interface ArchiveDeployer<T extends Artifact>DeploymentExceptionpublic void undeployArtifact(String artifactId)
undeployArtifact in interface ArchiveDeployer<T extends Artifact>public File getDeploymentDirectory()
getDeploymentDirectory in interface ArchiveDeployer<T extends Artifact>public T deployPackagedArtifact(URL artifactAchivedUrl) throws DeploymentException
deployPackagedArtifact in interface ArchiveDeployer<T extends Artifact>DeploymentExceptionpublic Map<URL,Long> getArtifactsZombieMap()
getArtifactsZombieMap in interface ArchiveDeployer<T extends Artifact>public void setArtifactFactory(ArtifactFactory<T> artifactFactory)
setArtifactFactory in interface ArchiveDeployer<T extends Artifact>public void undeployArtifactWithoutUninstall(T artifact)
undeployArtifactWithoutUninstall in interface ArchiveDeployer<T extends Artifact>public void setDeploymentListener(CompositeDeploymentListener deploymentListener)
setDeploymentListener in interface ArchiveDeployer<T extends Artifact>public void deployArtifact(T artifact) throws DeploymentException
deployArtifact in interface ArchiveDeployer<T extends Artifact>DeploymentExceptionpublic void redeploy(T artifact) throws DeploymentException
redeploy in interface ArchiveDeployer<T extends Artifact>DeploymentExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.