ws-pubscribe-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lisc...@apache.org
Subject svn commit: r158384 - incubator/hermes/trunk/src/java/org/apache/ws/notification/base/Subscription.java
Date Mon, 21 Mar 2005 00:32:42 GMT
Author: lischke
Date: Sun Mar 20 16:32:41 2005
New Revision: 158384

URL: http://svn.apache.org/viewcvs?view=rev&rev=158384
Log:
JIRA Hermes #10 added PropertiesResource Interface

Modified:
    incubator/hermes/trunk/src/java/org/apache/ws/notification/base/Subscription.java

Modified: incubator/hermes/trunk/src/java/org/apache/ws/notification/base/Subscription.java
URL: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/base/Subscription.java?view=diff&r1=158383&r2=158384
==============================================================================
--- incubator/hermes/trunk/src/java/org/apache/ws/notification/base/Subscription.java (original)
+++ incubator/hermes/trunk/src/java/org/apache/ws/notification/base/Subscription.java Sun
Mar 20 16:32:41 2005
@@ -18,6 +18,7 @@
 import org.apache.ws.resource.Resource;
 import org.apache.ws.resource.properties.query.QueryExpression;
 import org.apache.ws.resource.lifetime.ScheduledResourceTerminationResource;
+import org.apache.ws.resource.PropertiesResource;
 import org.apache.ws.notification.topics.TopicExpression;
 import org.apache.ws.notification.topics.impl.SimpleSubscriptionTopicListener;
 import org.apache.ws.notification.base.v1_2.porttype.impl.NotificationProducerPortTypeImpl;
@@ -30,7 +31,7 @@
  * associated with a subscription request, as well as resource lifetime-related
  * state.
  */
-public interface Subscription extends org.apache.ws.pubsub.Subscription, ScheduledResourceTerminationResource
+public interface Subscription extends PropertiesResource, org.apache.ws.pubsub.Subscription,
ScheduledResourceTerminationResource
 {
 
     /**
@@ -61,6 +62,11 @@
      */
     boolean getUseNotify();
 
+    public boolean isPaused();    
+    
+    public void pause() throws Exception;
+    
+    public void resume() throws Exception;     
     /**
      * Get the producing resource.
      *
@@ -77,4 +83,5 @@
     void setNotificationProducer(NotificationProducer notificationProducer);
 
     EndpointReference getConsumerReference();
+   
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: hermes-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: hermes-dev-help@ws.apache.org


Mime
View raw message