org.apache.ws.pubsub
Interface NotificationProducer

All Known Implementing Classes:
Subscriber

public interface NotificationProducer

DOCUMENT_ME

Version:
$Revision: 1.8 $
Author:
$author$

Method Summary
 org.apache.ws.addressing.EndpointReference getEPR()
          Returns this producer's endpoint reference.
 Subscription subscribe(NotificationConsumer notificationConsumer, SubscriptionEndConsumer subscriptionEndConsumer, TopicFilter topicFilter, XPathFilter xpathFilter, java.util.Calendar initialTerminationTime, boolean useNotify)
          Subscribe to notifications from this producer.
 

Method Detail

getEPR

public org.apache.ws.addressing.EndpointReference getEPR()
Returns this producer's endpoint reference.

Returns:
this producer's endpoint reference

subscribe

public Subscription subscribe(NotificationConsumer notificationConsumer,
                              SubscriptionEndConsumer subscriptionEndConsumer,
                              TopicFilter topicFilter,
                              XPathFilter xpathFilter,
                              java.util.Calendar initialTerminationTime,
                              boolean useNotify)
Subscribe to notifications from this producer.

Parameters:
notificationConsumer -
subscriptionEndConsumer - the callback Interface for SubscriptionEnd Notifications, or null if no SubscriptionEnd should be send
topicFilter -
xpathFilter -
initialTerminationTime -
useNotify - the notification delivery mode, or null to use default mode
Returns:
the subscription


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