java.lang.Object
java.lang.Thread
org.activemq.usecases.BecksNetworkTest.SimulationComponent
org.activemq.usecases.BecksNetworkTest.JMSComponent
- All Implemented Interfaces:
- java.lang.Runnable
- Direct Known Subclasses:
- BecksNetworkTest.MessageConsumerComponent, BecksNetworkTest.MessageProducerComponent
- Enclosing class:
- BecksNetworkTest
- private abstract static class BecksNetworkTest.JMSComponent
- extends BecksNetworkTest.SimulationComponent
| Nested classes inherited from class java.lang.Thread |
java.lang.Thread.UncaughtExceptionHandler |
|
Method Summary |
protected void |
_cleanup()
|
protected void |
_initialize()
|
protected abstract void |
_run()
|
java.lang.String |
getId()
Returns the unique identifier for this thread. |
void |
run()
The method of Thread that will be run if there is no Runnable object
associated with the Thread. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getName, getPriority, 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 |
m_url
protected final java.lang.String m_url
m_connection
protected javax.jms.Connection m_connection
m_session
protected javax.jms.Session m_session
m_queue
protected javax.jms.Queue m_queue
m_simulationState
protected final BecksNetworkTest.SimulationState m_simulationState
m_id
protected final java.lang.String m_id
BecksNetworkTest.JMSComponent
public BecksNetworkTest.JMSComponent(BecksNetworkTest.SimulationState state,
java.lang.String id,
java.lang.String url)
_initialize
protected void _initialize()
throws javax.jms.JMSException
- Specified by:
_initialize in class BecksNetworkTest.SimulationComponent
_cleanup
protected void _cleanup()
throws javax.jms.JMSException
- Specified by:
_cleanup in class BecksNetworkTest.SimulationComponent
_run
protected abstract void _run()
throws java.lang.Throwable
getId
public java.lang.String getId()
- Description copied from class:
java.lang.Thread
- Returns the unique identifier for this thread. This ID is generated
on thread creation, and may be re-used on its death.
run
public final void run()
- Description copied from class:
java.lang.Thread
- The method of Thread that will be run if there is no Runnable object
associated with the Thread. Thread's implementation does nothing at all.