public class DefaultMuleApplication extends Object implements Application
| Modifier and Type | Field and Description |
|---|---|
protected ApplicationClassLoaderFactory |
applicationClassLoaderFactory |
protected org.apache.commons.logging.Log |
deployLogger |
protected ArtifactClassLoader |
deploymentClassLoader |
protected DeploymentListener |
deploymentListener |
protected ApplicationDescriptor |
descriptor |
protected org.apache.commons.logging.Log |
logger |
protected MuleContext |
muleContext |
| Constructor and Description |
|---|
DefaultMuleApplication(ApplicationDescriptor descriptor,
ApplicationClassLoaderFactory applicationClassLoaderFactory,
Domain domain) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAnnotationsConfigBuilderIfPresent(List<ConfigurationBuilder> builders) |
protected ConfigurationBuilder |
createConfigurationBuilderFromApplicationProperties() |
void |
dispose()
Dispose the artifact.
|
protected void |
doDispose() |
ArtifactClassLoader |
getArtifactClassLoader() |
String |
getArtifactName() |
ApplicationDescriptor |
getDescriptor() |
Domain |
getDomain() |
MuleContext |
getMuleContext() |
File[] |
getResourceFiles() |
ApplicationStatus |
getStatus() |
void |
init()
Initialise the artifact resources
|
void |
install()
Install the artifact.
|
void |
setAppName(String appName) |
void |
setDeploymentListener(DeploymentListener deploymentListener) |
protected void |
setMuleContext(MuleContext muleContext) |
void |
start()
Starts the artifact execution
|
void |
stop()
Stops the artifact execution
|
String |
toString() |
protected final transient org.apache.commons.logging.Log logger
protected final transient org.apache.commons.logging.Log deployLogger
protected final ApplicationDescriptor descriptor
protected final ApplicationClassLoaderFactory applicationClassLoaderFactory
protected MuleContext muleContext
protected ArtifactClassLoader deploymentClassLoader
protected DeploymentListener deploymentListener
public DefaultMuleApplication(ApplicationDescriptor descriptor, ApplicationClassLoaderFactory applicationClassLoaderFactory, Domain domain)
public void setDeploymentListener(DeploymentListener deploymentListener)
public void install()
Artifactinstall in interface Artifact<ApplicationDescriptor>public ApplicationDescriptor getDescriptor()
getDescriptor in interface Artifact<ApplicationDescriptor>public Domain getDomain()
getDomain in interface Applicationpublic void setAppName(String appName)
public void start()
Artifactstart in interface Artifact<ApplicationDescriptor>public void init()
Artifactinit in interface Artifact<ApplicationDescriptor>protected void setMuleContext(MuleContext muleContext) throws NotificationException
NotificationExceptionprotected ConfigurationBuilder createConfigurationBuilderFromApplicationProperties()
protected void addAnnotationsConfigBuilderIfPresent(List<ConfigurationBuilder> builders) throws Exception
Exceptionpublic MuleContext getMuleContext()
getMuleContext in interface ApplicationgetMuleContext in interface Artifact<ApplicationDescriptor>public void dispose()
Artifactdispose in interface Artifact<ApplicationDescriptor>public String getArtifactName()
getArtifactName in interface Artifact<ApplicationDescriptor>public File[] getResourceFiles()
getResourceFiles in interface Artifact<ApplicationDescriptor>public ArtifactClassLoader getArtifactClassLoader()
getArtifactClassLoader in interface Artifact<ApplicationDescriptor>public void stop()
Artifactstop in interface Artifact<ApplicationDescriptor>public ApplicationStatus getStatus()
getStatus in interface Applicationprotected void doDispose()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.