|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mule.module.launcher.application.DefaultMuleApplication
public class DefaultMuleApplication
Field Summary | |
---|---|
protected ApplicationClassLoaderFactory |
applicationClassLoaderFactory
|
protected Log |
deployLogger
|
protected ArtifactClassLoader |
deploymentClassLoader
|
protected DeploymentListener |
deploymentListener
|
protected ApplicationDescriptor |
descriptor
|
protected Log |
logger
|
protected MuleContext |
muleContext
|
Constructor Summary | |
---|---|
DefaultMuleApplication(ApplicationDescriptor descriptor,
ApplicationClassLoaderFactory applicationClassLoaderFactory,
Domain domain)
|
Method Summary | |
---|---|
protected void |
addAnnotationsConfigBuilderIfPresent(List<ConfigurationBuilder> builders)
|
protected ConfigurationBuilder |
createConfigurationBuilderFromApplicationProperties()
|
void |
dispose()
Dispose the artifact. |
protected void |
doDispose()
|
ArtifactClassLoader |
getArtifactClassLoader()
|
String |
getArtifactName()
|
ApplicationDescriptor |
getDescriptor()
|
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)
|
void |
start()
Starts the artifact execution |
void |
stop()
Stops the artifact execution |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final transient Log logger
protected final transient Log deployLogger
protected final ApplicationDescriptor descriptor
protected final ApplicationClassLoaderFactory applicationClassLoaderFactory
protected MuleContext muleContext
protected ArtifactClassLoader deploymentClassLoader
protected DeploymentListener deploymentListener
Constructor Detail |
---|
public DefaultMuleApplication(ApplicationDescriptor descriptor, ApplicationClassLoaderFactory applicationClassLoaderFactory, Domain domain)
Method Detail |
---|
public void setDeploymentListener(DeploymentListener deploymentListener)
public void install()
Artifact
install
in interface Artifact
public ApplicationDescriptor getDescriptor()
getDescriptor
in interface Application
public void setAppName(String appName)
public void start()
Artifact
start
in interface Artifact
public void init()
Artifact
init
in interface Artifact
protected ConfigurationBuilder createConfigurationBuilderFromApplicationProperties()
protected void addAnnotationsConfigBuilderIfPresent(List<ConfigurationBuilder> builders) throws Exception
Exception
public MuleContext getMuleContext()
getMuleContext
in interface Application
getMuleContext
in interface Artifact
public void dispose()
Artifact
dispose
in interface Artifact
public String getArtifactName()
getArtifactName
in interface Artifact
public File[] getResourceFiles()
getResourceFiles
in interface Artifact
public ArtifactClassLoader getArtifactClassLoader()
getArtifactClassLoader
in interface Artifact
public void stop()
Artifact
stop
in interface Artifact
public ApplicationStatus getStatus()
getStatus
in interface Application
public String toString()
toString
in class Object
protected void doDispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |