org.mule.module.launcher
Class DeploymentService.AppDirWatcher
java.lang.Object
org.mule.module.launcher.DeploymentService.AppDirWatcher
- All Implemented Interfaces:
- java.lang.Runnable
- Enclosing class:
- DeploymentService
protected class DeploymentService.AppDirWatcher
- extends java.lang.Object
- implements java.lang.Runnable
Not thread safe. Correctness is guaranteed by a single-threaded executor.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
appsDir
protected java.io.File appsDir
deployedApps
protected java.lang.String[] deployedApps
appAnchors
protected java.lang.String[] appAnchors
DeploymentService.AppDirWatcher
public DeploymentService.AppDirWatcher(java.io.File appsDir)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
onApplicationUndeployRequested
protected void onApplicationUndeployRequested(java.lang.String appName)
throws java.lang.Exception
- Throws:
java.lang.Exception
onNewExplodedApplication
protected void onNewExplodedApplication(java.lang.String appName)
throws java.lang.Exception
- Parameters:
appName
- application name as it appears in $MULE_HOME/apps
- Throws:
java.lang.Exception
onNewApplicationArchive
protected void onNewApplicationArchive(java.io.File file)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.