|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.ow2.jasmine.monitoring.mbeancmd.CmdThread
org.ow2.jasmine.monitoring.mbeancmd.osgi.internal.JProbeCmdThread
public class JProbeCmdThread
This class extend CmdThread for 2 purposes: - run a special CommandDispatcher for OSGi - manages properly the command status
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected org.ow2.jasmine.monitoring.mbeancmd.CommandDispatcher |
commandDispatcher
|
protected java.lang.String |
error
|
protected org.ow2.jasmine.probe.api.JasmineProbe |
probe
|
protected ProbeServiceImpl |
probeservice
|
| Fields inherited from class org.ow2.jasmine.monitoring.mbeancmd.CmdThread |
|---|
cmdStatus, commandArgs, delay |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
JProbeCmdThread(java.lang.String[] args,
long delay,
org.ow2.jasmine.probe.api.JasmineProbe probe,
ProbeServiceImpl probeservice)
|
|
| Method Summary | |
|---|---|
void |
run()
Start the command. |
void |
setCmdStatus(java.lang.String cmdStatus)
|
void |
setDispatcher(org.ow2.jasmine.monitoring.mbeancmd.CommandDispatcher disp)
|
void |
tryStop()
|
| Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.CmdThread |
|---|
getCmdStatus, getErrorMessage, setErrorMessage |
| 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 |
|---|
protected org.ow2.jasmine.monitoring.mbeancmd.CommandDispatcher commandDispatcher
protected org.ow2.jasmine.probe.api.JasmineProbe probe
protected java.lang.String error
protected ProbeServiceImpl probeservice
| Constructor Detail |
|---|
public JProbeCmdThread(java.lang.String[] args,
long delay,
org.ow2.jasmine.probe.api.JasmineProbe probe,
ProbeServiceImpl probeservice)
| Method Detail |
|---|
public void setDispatcher(org.ow2.jasmine.monitoring.mbeancmd.CommandDispatcher disp)
public void run()
run in interface java.lang.Runnablerun in class org.ow2.jasmine.monitoring.mbeancmd.CmdThreadpublic void tryStop()
public void setCmdStatus(java.lang.String cmdStatus)
setCmdStatus in class org.ow2.jasmine.monitoring.mbeancmd.CmdThread
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||