org.jboss.dtf.testframework.testnode
Class RegistrationDaemon

java.lang.Object
  extended by java.lang.Thread
      extended by org.jboss.dtf.testframework.testnode.RegistrationDaemon
All Implemented Interfaces:
java.io.Serializable, java.lang.Runnable

public class RegistrationDaemon
extends java.lang.Thread
implements java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  java.lang.String _osId
           
protected  ProductSupportInformation _productSupport
           
protected  boolean _running
           
protected  short _serviceId
           
protected  ServiceUtils _serviceUtils
           
protected  TestNodeInterface _testNode
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RegistrationDaemon(ServiceUtils serviceUtils, TestNodeInterface testNode, java.lang.String osId, java.lang.String[] supportedProductList)
           
 
Method Summary
protected  boolean deregisterService()
           
 void disableProduct(java.lang.String productName)
           
 void enableProduct(java.lang.String productName)
           
 ProductSupportInformation getProductSupport()
           
 short getServiceId()
           
protected  boolean registerService()
           
 void reregisterService(java.lang.String[] supportedProductList)
           
 void run()
           
protected  boolean serviceExistsInRegister()
           
 void startDaemon()
           
 void stopDaemon()
           
 
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

_running

protected boolean _running

_serviceUtils

protected transient ServiceUtils _serviceUtils

_testNode

protected TestNodeInterface _testNode

_osId

protected java.lang.String _osId

_serviceId

protected short _serviceId

_productSupport

protected ProductSupportInformation _productSupport
Constructor Detail

RegistrationDaemon

public RegistrationDaemon(ServiceUtils serviceUtils,
                          TestNodeInterface testNode,
                          java.lang.String osId,
                          java.lang.String[] supportedProductList)
Method Detail

stopDaemon

public void stopDaemon()

startDaemon

public void startDaemon()

getProductSupport

public ProductSupportInformation getProductSupport()

run

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

serviceExistsInRegister

protected boolean serviceExistsInRegister()

registerService

protected boolean registerService()

deregisterService

protected boolean deregisterService()

getServiceId

public short getServiceId()

reregisterService

public void reregisterService(java.lang.String[] supportedProductList)

disableProduct

public void disableProduct(java.lang.String productName)

enableProduct

public void enableProduct(java.lang.String productName)