org.mule.module.launcher.application
Class ApplicationWrapper
java.lang.Object
org.mule.module.launcher.artifact.ArtifactWrapper<Application>
org.mule.module.launcher.application.ApplicationWrapper
- All Implemented Interfaces:
- Application, Artifact
public class ApplicationWrapper
- extends ArtifactWrapper<Application>
- implements Application
Decorates the target deployer to properly switch out context classloader for deployment
one where applicable. E.g. init() phase may load custom classes for an application, which
must be executed with deployment (app) classloader in the context, and not Mule system
classloader.
ApplicationWrapper
protected ApplicationWrapper(Application delegate)
throws IOException
- Throws:
IOException
getAppName
public String getAppName()
- Overrides:
getAppName
in class ArtifactWrapper<Application>
getDescriptor
public ApplicationDescriptor getDescriptor()
- Specified by:
getDescriptor
in interface Application
getStatus
public ApplicationStatus getStatus()
- Specified by:
getStatus
in interface Application
- Returns:
- the current status of the application
toString
public String toString()
- Overrides:
toString
in class ArtifactWrapper<Application>
getDelegate
public Application getDelegate()
- Overrides:
getDelegate
in class ArtifactWrapper<Application>
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.