org.mule.module.launcher
Interface ArchiveDeployer<T extends Artifact>

Type Parameters:
T - type of the artifact to deploy
All Known Implementing Classes:
DefaultArchiveDeployer, DomainArchiveDeployer

public interface ArchiveDeployer<T extends Artifact>

Deploys a file based artifact into the mule container.


Method Summary
 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)
           
 

Method Detail

deployPackagedArtifact

T deployPackagedArtifact(String zip)
                                          throws DeploymentException
Throws:
DeploymentException

deployExplodedArtifact

T deployExplodedArtifact(String artifactDir)
                                          throws DeploymentException
Throws:
DeploymentException

deployPackagedArtifact

T deployPackagedArtifact(URL artifactAchivedUrl)

undeployArtifact

void undeployArtifact(String artifactId)

getDeploymentDirectory

File getDeploymentDirectory()

setDeploymentListener

void setDeploymentListener(CompositeDeploymentListener deploymentListener)

redeploy

void redeploy(T artifact)

getArtifactsZombieMap

Map<URL,Long> getArtifactsZombieMap()

setArtifactFactory

void setArtifactFactory(ArtifactFactory<T> artifactFactory)


Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.