org.mule.module.launcher
Class DeploymentService.AppDirWatcher

java.lang.Object
  extended by 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.


Field Summary
protected  java.lang.String[] appAnchors
           
protected  java.io.File appsDir
           
protected  java.lang.String[] deployedApps
           
 
Constructor Summary
DeploymentService.AppDirWatcher(java.io.File appsDir)
           
 
Method Summary
protected  void onApplicationUndeployRequested(java.lang.String appName)
           
protected  void onNewApplicationArchive(java.io.File file)
           
protected  void onNewExplodedApplication(java.lang.String appName)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

appsDir

protected java.io.File appsDir

deployedApps

protected java.lang.String[] deployedApps

appAnchors

protected java.lang.String[] appAnchors
Constructor Detail

DeploymentService.AppDirWatcher

public DeploymentService.AppDirWatcher(java.io.File appsDir)
Method Detail

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.