org.mule.module.launcher
Class ArtifactArchiveInstaller
java.lang.Object
org.mule.module.launcher.ArtifactArchiveInstaller
public class ArtifactArchiveInstaller
- extends Object
Installer for mule artifacts inside the mule container directories.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ANCHOR_FILE_BLURB
protected static final String ANCHOR_FILE_BLURB
- See Also:
- Constant Field Values
logger
protected final transient Log logger
ArtifactArchiveInstaller
public ArtifactArchiveInstaller(File artifactParentDir)
installArtifact
public String installArtifact(URL artifactUrl)
throws IOException
- Installs an artifact in the mule container.
Created the artifact directory and the anchor file related.
- Parameters:
artifactUrl
- URL of the artifact to install. It must be present in the artifact directory as a zip file.
- Returns:
- the name of the installed artifact.
- Throws:
IOException
- in case there was an error reading from the artifact or writing to the artifact folder.
desinstallArtifact
public void desinstallArtifact(String artifactName)
- Desintalls an artifact from the mule container installation.
It will remove the artifact folder and the anchor file related
- Parameters:
artifactName
- name of the artifact to be uninstall.
installExplodedArtifact
public void installExplodedArtifact(String artifactName)
throws IOException
- Throws:
IOException
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.