Package org.apache.axis.transport.jms
Class JMSConnector.AsyncConnection
java.lang.Object
java.lang.Thread
org.apache.axis.transport.jms.JMSConnector.AsyncConnection
- All Implemented Interfaces:
Runnable
- Enclosing class:
- JMSConnector
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected javax.jms.Connectionprotected booleanFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAsyncConnection(ConnectionFactory connectionFactory, javax.jms.Connection connection, String threadName, String clientID, String username, String password) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract JMSConnector.AsyncConnection.ListenerSessioncreateListenerSession(javax.jms.Connection connection, Subscription subscription) ConnectionFactoryprotected voidprotected voidvoidonException(JMSException exception) protected voidvoidrun()Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
m_connection
protected javax.jms.Connection m_connection -
m_isActive
protected boolean m_isActive
-
-
Constructor Details
-
Method Details
-
createListenerSession
protected abstract JMSConnector.AsyncConnection.ListenerSession createListenerSession(javax.jms.Connection connection, Subscription subscription) throws Exception - Throws:
Exception
-
onShutdown
protected void onShutdown() -
onConnect
- Throws:
Exception
-
onException
protected void onException() -
getConnectionFactory
public ConnectionFactory getConnectionFactory() -
getClientID
-
getUsername
-
getPassword
-
run
public void run() -
onException
public void onException(JMSException exception)
-