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()
Artifactpublic ApplicationDescriptor getDescriptor()
getDescriptor in interface Applicationpublic Domain getDomain()
getDomain in interface Applicationpublic void setAppName(String appName)
public void start()
Artifactpublic void init()
Artifactprotected 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 Artifactpublic void dispose()
Artifactpublic String getArtifactName()
getArtifactName in interface Artifactpublic File[] getResourceFiles()
getResourceFiles in interface Artifactpublic ArtifactClassLoader getArtifactClassLoader()
getArtifactClassLoader in interface Artifactpublic void stop()
Artifactpublic ApplicationStatus getStatus()
getStatus in interface Applicationprotected void doDispose()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.