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 |
start()
Starts the artifact execution
|
void |
stop()
Stops the artifact execution
|
String |
toString() |
protected ArtifactWrapper(T artifact) throws IOException
IOException
public void dispose()
Artifact
dispose
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()
Artifact
init
in interface Artifact<D extends ArtifactDescriptor>
public void install() throws InstallException
Artifact
install
in interface Artifact<D extends ArtifactDescriptor>
InstallException
public 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
Artifact
start
in interface Artifact<D extends ArtifactDescriptor>
DeploymentStartException
public void stop()
Artifact
stop
in interface Artifact<D extends ArtifactDescriptor>
public String getAppName()
public T getDelegate()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.