org.jboss.axis.transport.jms
Class JMSConnector.SyncConnection

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.jboss.axis.transport.jms.JMSConnector.Connection
          extended byorg.jboss.axis.transport.jms.JMSConnector.SyncConnection
All Implemented Interfaces:
ExceptionListener (src) , java.lang.Runnable
Enclosing class:
JMSConnector (src)

protected abstract class JMSConnector.SyncConnection
extends org.jboss.axis.transport.jms.JMSConnector.Connection


Nested Class Summary
protected  class JMSConnector.SyncConnection.SendSession (src)
           
 
Field Summary
protected  Connection (src) m_connection
           
protected  boolean m_isActive
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
protected abstract  JMSConnector.SyncConnection.SendSession (src) createSendSession(Connection (src)  connection)
           
protected  void onConnect()
           
protected  void onException()
           
 void onException(JMSException (src)  exception)
          Notifies user of a JMS exception.
protected  void onShutdown()
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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_connection

protected Connection (src)  m_connection

m_isActive

protected boolean m_isActive
Method Detail

createSendSession

protected abstract JMSConnector.SyncConnection.SendSession (src)  createSendSession(Connection (src)  connection)
                                                                      throws JMSException (src) 
Throws:
JMSException (src)

onConnect

protected void onConnect()
                  throws JMSException (src) 
Throws:
JMSException (src)

onException

protected void onException()

onShutdown

protected void onShutdown()

run

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

onException

public void onException(JMSException (src)  exception)
Description copied from interface: ExceptionListener (src)
Notifies user of a JMS exception.

Specified by:
onException in interface ExceptionListener (src)
Parameters:
exception - the JMS exception