|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
things.thinger.kernel.ThingsProcess
things.thinger.service.Service
public abstract class Service
Root service. Adds on() and off() as methods.
Like a process, you will need to start() it.
Version History
EPG - Initial - 22 NOV 04
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected Logger |
myLogger
The default logger provided by the system. |
Fields inherited from class things.thinger.kernel.ThingsProcess |
---|
DEFAULT_NAME, internalResult, myPostLogger, ssi |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
Service()
|
Method Summary | |
---|---|
abstract void |
serviceOff()
Called to turn the service off. |
abstract void |
serviceOn()
Called to turn the service on. |
void |
setLogger(Logger theLogger)
Set the logger for this service. |
Methods inherited from class things.thinger.kernel.ThingsProcess |
---|
acceptHalt, acceptPause, constructThingsProcess, destructThingsProcess, executeThingsProcess, finalize, fix, forceFinalize, forceHalt, getCurrentState, getCurrentStateNumeric, getProcessId, getProcessName, getResult, getStartTime, getThingsState, init, isVerbose, release, releasePause, requestHalt, requestPause, run, screech, verboseOff, verboseOn |
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, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface things.thinger.kernel.ResourceListener |
---|
getListenerId, resourceRevocation, resourceRevoked |
Field Detail |
---|
protected Logger myLogger
Constructor Detail |
---|
public Service()
Method Detail |
---|
public abstract void serviceOn() throws SystemException
SystemException
public abstract void serviceOff() throws SystemException
SystemException
public void setLogger(Logger theLogger) throws SystemException
theLogger
- The logger to set.
SystemException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |