org.apache.cocoon.components.jms
Interface JMSConnectionEventListener

All Known Implementing Classes:
AbstractMessageListener, AbstractMessagePublisher, JMSEventMessageListener, JMSPublisherAction

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

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

Parameters:
name - the name of the JMS connection.

onDisconnection

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

Parameters:
name - the name of the JMS connection.


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