org.exolab.jms.messagemgr
Interface DestinationEventListener

All Known Implementing Classes:
org.exolab.jms.messagemgr.AbstractTopicConsumerEndpoint, DestinationBinder

public interface DestinationEventListener

A DestinatonEventListener will be notified of events generated by the DestinationManager.

Version:
$Revision: 1.3 $ $Date: 2005/08/30 07:26:49 $
Author:
Jim Alateras, Tim Anderson

Method Summary
 void cacheAdded(JmsDestination destination, DestinationCache cache)
          Invoked when a message cache is created.
 void cacheRemoved(JmsDestination destination, DestinationCache cache)
          Invoked when a message cache is removed.
 void destinationAdded(JmsDestination destination)
          Invoked when a destination is created.
 void destinationRemoved(JmsDestination destination)
          Invoked when a destination is removed.
 

Method Detail

destinationAdded

public void destinationAdded(JmsDestination destination)
                      throws javax.jms.JMSException
Invoked when a destination is created.
Parameters:
destination - the destination that was added
Throws:
javax.jms.JMSException - for any error

destinationRemoved

public void destinationRemoved(JmsDestination destination)
                        throws javax.jms.JMSException
Invoked when a destination is removed.
Parameters:
destination - the destination that was removed
Throws:
javax.jms.JMSException - for any error

cacheAdded

public void cacheAdded(JmsDestination destination,
                       DestinationCache cache)
Invoked when a message cache is created.
Parameters:
destination - the destination that messages are being cached for
cache - the corresponding cache

cacheRemoved

public void cacheRemoved(JmsDestination destination,
                         DestinationCache cache)
Invoked when a message cache is removed.
Parameters:
destination - the destination that messages are no longer being cached for
cache - the corresponding cache


Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.