org.exolab.jms.messagemgr
Interface DestinationEventListener

All Known Implementing Classes:
DurableConsumerEndpoint, TopicConsumerEndpoint

public interface DestinationEventListener

A DestinatonEventListener will be notifies when new JmsDestination are created or removed from the DestinationManager

Version:
$Revision: 1.2 $ $Date: 2003/08/07 13:33:03 $
Author:
Jim Alateras
See Also:
DestinationManager

Method Summary
 void destinationAdded(JmsDestination destination, DestinationCache cache)
          This method is called when a new destination is added to the DestinationManager
 void destinationRemoved(JmsDestination destination, DestinationCache cache)
          This method is called when a new destination is removed from the DestinationManager
 

Method Detail

destinationAdded

void destinationAdded(JmsDestination destination,
                      DestinationCache cache)
This method is called when a new destination is added to the DestinationManager

Parameters:
destination - - destination that was added
cache - - the corresponding cache

destinationRemoved

void destinationRemoved(JmsDestination destination,
                        DestinationCache cache)
This method is called when a new destination is removed from the DestinationManager

Parameters:
destination - - destination that was removed
cache - - the corresponding cache


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