public class ArtifactWrapper<T extends Artifact<D>,D extends ArtifactDescriptor> extends Object implements Artifact<D>
| 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() |
D |
getDescriptor() |
MuleContext |
getMuleContext() |
File[] |
getResourceFiles() |
void |
init()
Initialise the artifact resources
|
void |
install()
Install the artifact.
|
void |
setDeploymentProperties(Properties deploymentProperties)
Sets the deployment properties
|
void |
start()
Starts the artifact execution
|
void |
stop()
Stops the artifact execution
|
String |
toString() |
protected ArtifactWrapper(T artifact) throws IOException
IOExceptionpublic void dispose()
Artifactdispose in interface Artifact<D extends ArtifactDescriptor>public ArtifactClassLoader getArtifactClassLoader()
getArtifactClassLoader in interface Artifact<D extends ArtifactDescriptor>public MuleContext getMuleContext()
getMuleContext in interface Artifact<D extends ArtifactDescriptor>public void init()
Artifactinit in interface Artifact<D extends ArtifactDescriptor>public void install()
throws InstallException
Artifactinstall in interface Artifact<D extends ArtifactDescriptor>InstallExceptionpublic String getArtifactName()
getArtifactName in interface Artifact<D extends ArtifactDescriptor>public D getDescriptor()
getDescriptor in interface Artifact<D extends ArtifactDescriptor>public File[] getResourceFiles()
getResourceFiles in interface Artifact<D extends ArtifactDescriptor>public void start()
throws DeploymentStartException
Artifactstart in interface Artifact<D extends ArtifactDescriptor>DeploymentStartExceptionpublic void stop()
Artifactstop in interface Artifact<D extends ArtifactDescriptor>public String getAppName()
public T getDelegate()
public void setDeploymentProperties(Properties deploymentProperties)
ArtifactsetDeploymentProperties in interface Artifact<D extends ArtifactDescriptor>deploymentProperties - deployment propertiesCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.