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

java.lang.Object
  extended by java.lang.Thread
      extended by org.jboss.axis.transport.jms.JMSConnector.AsyncConnection
All Implemented Interfaces:
Runnable, javax.jms.ExceptionListener
Enclosing class:
JMSConnector

protected abstract class JMSConnector.AsyncConnection
extends Thread


Nested Class Summary
protected  class JMSConnector.AsyncConnection.ListenerSession
           
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
protected JMSConnector.AsyncConnection(javax.jms.ConnectionFactory connectionFactory, javax.jms.Connection connection, String threadName, String clientID, String username, String password)
           
 
Method Summary
protected abstract  JMSConnector.AsyncConnection.ListenerSession createListenerSession(javax.jms.Connection connection, Subscription subscription)
           
protected  void onConnect()
           
protected  void onException()
           
protected  void onShutdown()
           
 
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
 

Constructor Detail

JMSConnector.AsyncConnection

protected JMSConnector.AsyncConnection(javax.jms.ConnectionFactory connectionFactory,
                                       javax.jms.Connection connection,
                                       String threadName,
                                       String clientID,
                                       String username,
                                       String password)
                                throws javax.jms.JMSException
Throws:
javax.jms.JMSException
Method Detail

createListenerSession

protected abstract JMSConnector.AsyncConnection.ListenerSession createListenerSession(javax.jms.Connection connection,
                                                                                      Subscription subscription)
                                                                               throws Exception
Throws:
Exception

onShutdown

protected void onShutdown()

onConnect

protected void onConnect()
                  throws Exception
Throws:
Exception

onException

protected void onException()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.