Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.activemq.usecases
Class BecksNetworkTest.JMSComponent  view BecksNetworkTest.JMSComponent download BecksNetworkTest.JMSComponent.java

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.activemq.usecases.BecksNetworkTest.SimulationComponent
          extended byorg.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 Class Summary
 
Nested classes inherited from class java.lang.Thread
java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  javax.jms.Connection m_connection
           
protected  java.lang.String m_id
           
protected  javax.jms.Queue m_queue
           
protected  javax.jms.Session m_session
           
protected  BecksNetworkTest.SimulationState m_simulationState
           
protected  java.lang.String m_url
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
BecksNetworkTest.JMSComponent(BecksNetworkTest.SimulationState state, java.lang.String id, java.lang.String url)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

BecksNetworkTest.JMSComponent

public BecksNetworkTest.JMSComponent(BecksNetworkTest.SimulationState state,
                                     java.lang.String id,
                                     java.lang.String url)
Method Detail

_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.