org.mule.module.launcher
Class DefaultMuleApplication
java.lang.Object
org.mule.module.launcher.DefaultMuleApplication
- All Implemented Interfaces:
- Application
public class DefaultMuleApplication
- extends java.lang.Object
- implements Application
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT_RELOAD_CHECK_INTERVAL_MS
protected static final int DEFAULT_RELOAD_CHECK_INTERVAL_MS
- See Also:
- Constant Field Values
ANCHOR_FILE_BLURB
protected static final java.lang.String ANCHOR_FILE_BLURB
- See Also:
- Constant Field Values
logger
protected final transient Log logger
watchTimer
protected java.util.concurrent.ScheduledExecutorService watchTimer
descriptor
protected ApplicationDescriptor descriptor
absoluteResourcePaths
protected java.lang.String[] absoluteResourcePaths
DefaultMuleApplication
public DefaultMuleApplication(java.lang.String appName)
install
public void install()
- Specified by:
install
in interface Application
getAppName
public java.lang.String getAppName()
- Specified by:
getAppName
in interface Application
setAppName
public void setAppName(java.lang.String appName)
start
public void start()
- Specified by:
start
in interface Application
init
public void init()
- Specified by:
init
in interface Application
getMuleContext
public MuleContext getMuleContext()
- Specified by:
getMuleContext
in interface Application
getDeploymentClassLoader
public java.lang.ClassLoader getDeploymentClassLoader()
- Specified by:
getDeploymentClassLoader
in interface Application
- Returns:
- a classloader associated with this deployment
dispose
public void dispose()
- Specified by:
dispose
in interface Application
redeploy
public void redeploy()
- Specified by:
redeploy
in interface Application
stop
public void stop()
- Specified by:
stop
in interface Application
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
createDeploymentClassLoader
protected void createDeploymentClassLoader()
createRedeployMonitor
protected void createRedeployMonitor()
throws NotificationException
- Throws:
NotificationException
scheduleConfigMonitor
protected void scheduleConfigMonitor(AbstractFileWatcher watcher)
toAbsoluteFile
protected java.io.File toAbsoluteFile(java.lang.String path)
- Resolve a resource relative to an application root.
- Parameters:
path
- the relative path to resolve
- Returns:
- absolute path, may not actually exist (check with File.exists())
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.