org.apache.cocoon.components.jms
Interface JMSConnectionEventNotifier

All Known Implementing Classes:
JMSConnectionManagerImpl

public interface JMSConnectionEventNotifier

JMSConnectionEventListeners may register themselves in order to be notified of connect and disconnect events.


Method Summary
 void addConnectionListener(String name, JMSConnectionEventListener listener)
          Register a JMSConnectionEventListener.
 void removeConnectionListener(String name, JMSConnectionEventListener listener)
          Deregister a JMSConnectionEventListener.
 

Method Detail

addConnectionListener

void addConnectionListener(String name,
                           JMSConnectionEventListener listener)
Register a JMSConnectionEventListener.

Parameters:
name - the name of the JMS connection.
listener - the listener to register

removeConnectionListener

void removeConnectionListener(String name,
                              JMSConnectionEventListener listener)
Deregister a JMSConnectionEventListener.

Parameters:
name - the name of the JMS connection.
listener - the listener to register.


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.