org.apache.ws.notification.topics.impl
Class SubscriptionTopicListener

java.lang.Object
  extended byorg.apache.ws.notification.topics.impl.SubscriptionTopicListener
All Implemented Interfaces:
java.io.Serializable, TopicListener

public class SubscriptionTopicListener
extends java.lang.Object
implements TopicListener, java.io.Serializable

Topic listener implementation that is associated with a particular Subscription. Upon a message being published to the topic being listened to, a notification will be emitted to the consumer associated with the subscription.

See Also:
Serialized Form

Constructor Summary
SubscriptionTopicListener(Subscription subscription)
          Construct a listener instance.
 
Method Summary
 Subscription getSubscription()
           
 void topicAdded(Topic topic)
          DOCUMENT_ME
 void topicChanged(Topic topic)
          DOCUMENT_ME
 void topicRemoved(Topic topic)
          DOCUMENT_ME
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubscriptionTopicListener

public SubscriptionTopicListener(Subscription subscription)
Construct a listener instance.

Parameters:
subscription - the subscription which is being wrapped in a listener
Method Detail

getSubscription

public Subscription getSubscription()
Returns:
Subscription

topicChanged

public void topicChanged(Topic topic)
DOCUMENT_ME

Specified by:
topicChanged in interface TopicListener
Parameters:
topic - DOCUMENT_ME

topicAdded

public void topicAdded(Topic topic)
DOCUMENT_ME

Specified by:
topicAdded in interface TopicListener
Parameters:
topic - DOCUMENT_ME

topicRemoved

public void topicRemoved(Topic topic)
DOCUMENT_ME

Specified by:
topicRemoved in interface TopicListener
Parameters:
topic - DOCUMENT_ME


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