当前页面: 
在线文档首页 > 
JBoss 3.2.7 system  API Documentation 英文版文档
AbstractDeploymentScanner.ScannerThread (JBoss System API) - JBoss 3.2.7 system  API Documentation 英文版文档
org.jboss.deployment.scanner
Class AbstractDeploymentScanner.ScannerThread
java.lang.Object
   java.lang.Thread
java.lang.Thread
       org.jboss.deployment.scanner.AbstractDeploymentScanner.ScannerThread
org.jboss.deployment.scanner.AbstractDeploymentScanner.ScannerThread
- All Implemented Interfaces: 
- Runnable
- Enclosing class:
- AbstractDeploymentScanner
- public class AbstractDeploymentScanner.ScannerThread- extends Thread
Should use Timer/TimerTask instead?  This has some issues with
 interaction with ScanEnabled attribute.  ScanEnabled works only
 when starting/stopping.
| Field Summary | 
| protected  boolean | enabledTrue if the scan loop should run.
 | 
| protected  Object | lockLock/notify object.
 | 
| protected  org.jboss.logging.Logger | logWe get our own logger.
 | 
| protected  boolean | shuttingDownTrue if we are shutting down.
 | 
 
 
 
 
| Methods inherited from class java.lang.Thread | 
| activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield | 
 
 
log
protected org.jboss.logging.Logger log
- We get our own logger.
 
 
enabled
protected boolean enabled
- True if the scan loop should run.
 
 
shuttingDown
protected boolean shuttingDown
- True if we are shutting down.
 
 
lock
protected Object lock
- Lock/notify object.
 
 
AbstractDeploymentScanner.ScannerThread
public AbstractDeploymentScanner.ScannerThread(boolean enabled)
setEnabled
public void setEnabled(boolean enabled)
- 
 
shutdown
public void shutdown()
- 
 
run
public void run()
- 
 
doScan
public void doScan()
- 
 
loop
protected void loop()
- 
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.