public class ArtifactWrapper<T extends Artifact> extends Object implements Artifact
Modifier | Constructor and Description |
---|---|
protected |
ArtifactWrapper(T artifact) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Dispose the artifact.
|
String |
getAppName() |
ArtifactClassLoader |
getArtifactClassLoader() |
String |
getArtifactName() |
T |
getDelegate() |
MuleContext |
getMuleContext() |
File[] |
getResourceFiles() |
void |
init()
Initialise the artifact resources
|
void |
install()
Install the artifact.
|
void |
start()
Starts the artifact execution
|
void |
stop()
Stops the artifact execution
|
String |
toString() |
protected ArtifactWrapper(T artifact) throws IOException
IOException
public void dispose()
Artifact
public ArtifactClassLoader getArtifactClassLoader()
getArtifactClassLoader
in interface Artifact
public MuleContext getMuleContext()
getMuleContext
in interface Artifact
public void init()
Artifact
public void install() throws InstallException
Artifact
install
in interface Artifact
InstallException
public String getArtifactName()
getArtifactName
in interface Artifact
public File[] getResourceFiles()
getResourceFiles
in interface Artifact
public void start() throws DeploymentStartException
Artifact
start
in interface Artifact
DeploymentStartException
public void stop()
Artifact
public String getAppName()
public T getDelegate()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.