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
IOExceptionpublic void dispose()
Artifactpublic ArtifactClassLoader getArtifactClassLoader()
getArtifactClassLoader in interface Artifactpublic MuleContext getMuleContext()
getMuleContext in interface Artifactpublic void init()
Artifactpublic void install()
throws InstallException
Artifactinstall in interface ArtifactInstallExceptionpublic String getArtifactName()
getArtifactName in interface Artifactpublic File[] getResourceFiles()
getResourceFiles in interface Artifactpublic void start()
throws DeploymentStartException
Artifactstart in interface ArtifactDeploymentStartExceptionpublic void stop()
Artifactpublic String getAppName()
public T getDelegate()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.