org.mule.module.launcher
Class DeploymentService

java.lang.Object
  extended by org.mule.module.launcher.DeploymentService

public class DeploymentService
extends java.lang.Object


Nested Class Summary
protected  class DeploymentService.AppDirWatcher
          Not thread safe.
 
Field Summary
static java.lang.String APP_ANCHOR_SUFFIX
           
protected  java.util.concurrent.ScheduledExecutorService appDirMonitorTimer
           
protected static int DEFAULT_CHANGES_CHECK_INTERVAL_MS
           
protected  MuleDeployer deployer
           
protected  Log logger
           
 
Constructor Summary
DeploymentService()
           
 
Method Summary
 java.util.List<Application> getApplications()
           
 MuleDeployer getDeployer()
           
protected  void scheduleChangeMonitor(java.io.File appsDir)
           
 void setDeployer(MuleDeployer deployer)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APP_ANCHOR_SUFFIX

public static final java.lang.String APP_ANCHOR_SUFFIX
See Also:
Constant Field Values

DEFAULT_CHANGES_CHECK_INTERVAL_MS

protected static final int DEFAULT_CHANGES_CHECK_INTERVAL_MS
See Also:
Constant Field Values

appDirMonitorTimer

protected java.util.concurrent.ScheduledExecutorService appDirMonitorTimer

logger

protected final transient Log logger

deployer

protected MuleDeployer deployer
Constructor Detail

DeploymentService

public DeploymentService()
Method Detail

start

public void start()

scheduleChangeMonitor

protected void scheduleChangeMonitor(java.io.File appsDir)

stop

public void stop()

getApplications

public java.util.List<Application> getApplications()
Returns:
immutable applications list

getDeployer

public MuleDeployer getDeployer()

setDeployer

public void setDeployer(MuleDeployer deployer)


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.