org.jboss.jms.client.remoting
Class ConsolidatedRemotingConnectionListener
java.lang.Object
org.jboss.jms.client.remoting.ConsolidatedRemotingConnectionListener
- public class ConsolidatedRemotingConnectionListener
- extends java.lang.Object
The ONLY remoting connection listener for a JMS connection's underlying remoting connection.
Added to the remoting connection when the JMS connection is created, and removed when the
JMS connection is closed. Any second tier listeners (the JMS connection ExceptionListener,
and the HA's connection failure detector) are registered with this consolidated listener and not
with the remoting connection directly.
- Version:
- $Revision: 2715 $
$Id: ConsolidatedRemotingConnectionListener.java 2715 2007-05-19 15:31:23Z timfox $
- Author:
- Ovidiu Feodorov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConsolidatedRemotingConnectionListener
public ConsolidatedRemotingConnectionListener()
handleConnectionException
public void handleConnectionException(java.lang.Throwable throwable,
Client client)
setDelegateListener
public void setDelegateListener(ConnectionFailureListener l)
addJMSExceptionListener
public void addJMSExceptionListener(ExceptionListener jmsExceptionListener)
getJMSExceptionListener
public ExceptionListener getJMSExceptionListener()
clear
public void clear()
- Clears all delegate listeners
setConnectionState
public void setConnectionState(ConnectionState state)
toString
public java.lang.String toString()
Copyright © 2006 JBoss Inc. All Rights Reserved.