argos.deploy
Class HotDeployer

java.lang.Object
  extended by java.lang.Thread
      extended by argos.deploy.HotDeployer
All Implemented Interfaces:
Runnable

public class HotDeployer
extends Thread

Created on 05.jul.2006

Author:
Dan Peder Eriksen

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
static int DEFAULT_SLEEP_TIME
           
static String DEPLOY_FILE
           
static String DEPLOY_FILE_MISSING
           
static String FILE_UPDATED
           
static String NEW_FILE_FOUND
           
static String NOT_LOADING_FILE
           
 NotificationProxy proxy
           
static String UNDEPLOY_FILE
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
 void addIgnore(File file)
           
 String getDirectory()
           
static HotDeployer getInstance()
           
 MBeanNotificationInfo[] getNotificationInfo()
           
 int getSleepTime()
           
 boolean removeIgnore(File file)
           
 void run()
           
 void setDirectory(String directory)
           
 void setSleepTime(int sleepTime)
           
 void stopDeployer()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NEW_FILE_FOUND

public static final String NEW_FILE_FOUND
See Also:
Constant Field Values

DEPLOY_FILE_MISSING

public static final String DEPLOY_FILE_MISSING
See Also:
Constant Field Values

NOT_LOADING_FILE

public static final String NOT_LOADING_FILE
See Also:
Constant Field Values

FILE_UPDATED

public static final String FILE_UPDATED
See Also:
Constant Field Values

UNDEPLOY_FILE

public static final String UNDEPLOY_FILE
See Also:
Constant Field Values

DEPLOY_FILE

public static final String DEPLOY_FILE
See Also:
Constant Field Values

DEFAULT_SLEEP_TIME

public static final int DEFAULT_SLEEP_TIME
See Also:
Constant Field Values

proxy

public NotificationProxy proxy
Method Detail

stopDeployer

public void stopDeployer()

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

addIgnore

public void addIgnore(File file)

removeIgnore

public boolean removeIgnore(File file)

getDirectory

public String getDirectory()

setDirectory

public void setDirectory(String directory)

getSleepTime

public int getSleepTime()

setSleepTime

public void setSleepTime(int sleepTime)

getInstance

public static HotDeployer getInstance()

getNotificationInfo

public MBeanNotificationInfo[] getNotificationInfo()


Copyright © 2004-2007 University of Troms?. All Rights Reserved.