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

Type Parameters:
T - artifact type
All Known Implementing Classes:
DefaultArtifactDeployer

public interface ArtifactDeployer<T extends Artifact>

Deployes and Undeploys artifacts in the container.


Method Summary
 void deploy(T artifact)
          Deploys an artifact.
 void undeploy(T artifact)
          Undeploys an artifact.
 

Method Detail

deploy

void deploy(T artifact)
Deploys an artifact. The deployer executes the artifact installation phases until the artifact is deployed After this method call the Artifact will be installed in the container and started.

Parameters:
artifact - artifact to be deployed

undeploy

void undeploy(T artifact)
Undeploys an artifact. The deployer executes the artifact desinstallation phases until de artifact is undeployed. After this method call the Artifact will not longer be running inside the container.

Parameters:
artifact - artifact to be undeployed


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.