org.mule.module.launcher
Class DeploymentService.AppDirWatcher
java.lang.Object
org.mule.module.launcher.DeploymentService.AppDirWatcher
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- DeploymentService
protected class DeploymentService.AppDirWatcher
- extends Object
- implements 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 File appsDir
dirty
protected volatile boolean dirty
DeploymentService.AppDirWatcher
public DeploymentService.AppDirWatcher(File appsDir)
run
public void run()
- Specified by:
run
in interface Runnable
isZombieApplicationFile
protected boolean isZombieApplicationFile(URL url)
- Determines if a given URL points to the same file that an existent
zombie application.
- Parameters:
url
- the URL representing the resource to be checked
- Returns:
- true if the URL already a zombie application and both file
timestamps are the same.
onNewExplodedApplication
protected void onNewExplodedApplication(String appName)
throws Exception
- Parameters:
appName
- application name as it appears in $MULE_HOME/apps
- Throws:
Exception
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.