org.apache.ws.notification.pubsub
Class Subscription

java.lang.Object
  extended byorg.apache.ws.notification.base.impl.AbstractSubscription
      extended byorg.apache.ws.notification.pubsub.Subscription
All Implemented Interfaces:
org.apache.ws.resource.PropertiesResource, org.apache.ws.resource.Resource, org.apache.ws.resource.lifetime.ScheduledResourceTerminationResource, Subscription, Subscription

public class Subscription
extends org.apache.ws.notification.base.impl.AbstractSubscription

Author:
Stefan Lischke

Constructor Summary
Subscription(org.apache.ws.addressing.EndpointReference producerRef, org.apache.ws.addressing.EndpointReference consumerRef, TopicExpression topicExpr)
          Creates a new Subscription object.
 
Method Summary
 org.apache.ws.resource.NamespaceVersionHolder getNamespaceSet()
          DOCUMENT_ME
 SubscriptionEndConsumer getSubscriptionEndConsumer()
          Get the subscriptionEnd consumer associated with this subscription.
 void init()
          DOCUMENT_ME
 void setResourcePropertySet(org.apache.ws.resource.properties.ResourcePropertySet propSet)
          DOCUMENT_ME
 void setSubscriptionManager(org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.SubscribeResponseDocument.SubscribeResponse sresdom)
          DOCUMENT_ME
 
Methods inherited from class org.apache.ws.notification.base.impl.AbstractSubscription
addTerminationListener, destroy, getConsumerReference, getCreationTime, getCurrentTime, getDeliveryMode, getEndpointReference, getFilters, getID, getNotificationConsumer, getNotificationProducer, getPolicy, getPrecondition, getProducerReference, getProducerResource, getResourcePropertySet, getSelector, getTerminationTime, getTopicExpression, getUseNotify, isPaused, pause, resume, setConsumerReference, setEndpointReference, setID, setNotificationConsumer, setNotificationProducer, setPolicy, setPrecondition, setSelector, setTerminationTime, setTopicExpression, setUseNotify, unsubscribe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Subscription

public Subscription(org.apache.ws.addressing.EndpointReference producerRef,
                    org.apache.ws.addressing.EndpointReference consumerRef,
                    TopicExpression topicExpr)
Creates a new Subscription object.

Parameters:
producerRef - DOCUMENT_ME
consumerRef - DOCUMENT_ME
topicExpr - DOCUMENT_ME
Method Detail

getNamespaceSet

public org.apache.ws.resource.NamespaceVersionHolder getNamespaceSet()
DOCUMENT_ME

Returns:
DOCUMENT_ME

setResourcePropertySet

public void setResourcePropertySet(org.apache.ws.resource.properties.ResourcePropertySet propSet)
DOCUMENT_ME

Parameters:
propSet - DOCUMENT_ME

getSubscriptionEndConsumer

public SubscriptionEndConsumer getSubscriptionEndConsumer()
Get the subscriptionEnd consumer associated with this subscription.

Returns:
the subscriptionEnd consumer

setSubscriptionManager

public void setSubscriptionManager(org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.SubscribeResponseDocument.SubscribeResponse sresdom)
DOCUMENT_ME

Parameters:
sresdom - DOCUMENT_ME

init

public void init()
DOCUMENT_ME



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