org.apache.axis.transport.jms

Class JMSConnector.AsyncConnection

Enclosing Class:
JMSConnector
Implemented Interfaces:
ExceptionListener

protected abstract class JMSConnector.AsyncConnection
extends org.apache.axis.transport.jms.JMSConnector.Connection

Nested Class Summary

protected class
JMSConnector.AsyncConnection.ListenerSession

Field Summary

Fields inherited from class org.apache.axis.transport.jms.JMSConnector.Connection

m_connection, m_isActive

Constructor Summary

AsyncConnection(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 org.apache.axis.transport.jms.JMSConnector.Connection

getClientID, getConnectionFactory, getPassword, getUsername, onConnect, onException, onException, onShutdown, run

Constructor Details

AsyncConnection

protected AsyncConnection(ConnectionFactory connectionFactory,
                          javax.jms.Connection connection,
                          String threadName,
                          String clientID,
                          String username,
                          String password)
            throws JMSException

Method Details

createListenerSession

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

onConnect

protected void onConnect()
            throws Exception
Overrides:
onConnect in interface org.apache.axis.transport.jms.JMSConnector.Connection

onException

protected void onException()
Overrides:
onException in interface org.apache.axis.transport.jms.JMSConnector.Connection

onShutdown

protected void onShutdown()
Overrides:
onShutdown in interface org.apache.axis.transport.jms.JMSConnector.Connection

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.