org.apache.ws.pubsub
Interface NotificationProducer
- All Known Implementing Classes:
- Subscriber, Subscriber
- public interface NotificationProducer
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 sendtopicFilter
- 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.