org.apache.ws.notification.topics
Interface TopicListener

All Known Implementing Classes:
SubscriptionTopicListener, TopicImpl

public interface TopicListener

Interface that should be implemented by parties interested in changes in topics and the list of root topics. It is currently used to send notifications when the situation represented by a topic changes and for tracking the list of currently supported topics (exposed as a resource property)


Method Summary
 void topicAdded(Topic topic)
          Called when a topic is added
 void topicChanged(Topic topic)
          Called when the value of the topic changes
 void topicRemoved(Topic topic)
          Called when a topic is removed
 

Method Detail

topicChanged

public void topicChanged(Topic topic)
Called when the value of the topic changes

Parameters:
topic - The topic that changed

topicAdded

public void topicAdded(Topic topic)
Called when a topic is added

Parameters:
topic - The topic being added

topicRemoved

public void topicRemoved(Topic topic)
Called when a topic is removed

Parameters:
topic - The topic being removed


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.