org.apache.cocoon.components.jms
Interface JMSConnectionEventListener

All Known Implementing Classes:
AbstractMessageListener, AbstractMessagePublisher

public interface JMSConnectionEventListener

JMSConnectionEventListeners can register themselves with a JMSConnectionEventNotifier in order to be notified of connect and disconnect events.


Method Summary
 void onConnection(String name)
          Called when a JMS connection has been established.
 void onDisconnection(String name)
          Called when a JMS connection is being disconnected.
 

Method Detail

onConnection

public void onConnection(String name)
Called when a JMS connection has been established.

Parameters:
name - the name of the JMS connection.

onDisconnection

public void onDisconnection(String name)
Called when a JMS connection is being disconnected.

Parameters:
name - the name of the JMS connection.


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.