You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by da...@apache.org on 2007/02/18 22:06:35 UTC

svn commit: r509003 - /webservices/muse/trunk/modules/muse-wsn-api/src/org/apache/muse/ws/notification/NotificationProducer.java

Author: danj
Date: Sun Feb 18 13:06:35 2007
New Revision: 509003

URL: http://svn.apache.org/viewvc?view=rev&rev=509003
Log:
Overloaded publish() to add arrays of content, as requested on muse-user. Users can now publish notifications 
with multiple events (they can already receive them).

Modified:
    webservices/muse/trunk/modules/muse-wsn-api/src/org/apache/muse/ws/notification/NotificationProducer.java

Modified: webservices/muse/trunk/modules/muse-wsn-api/src/org/apache/muse/ws/notification/NotificationProducer.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsn-api/src/org/apache/muse/ws/notification/NotificationProducer.java?view=diff&rev=509003&r1=509002&r2=509003
==============================================================================
--- webservices/muse/trunk/modules/muse-wsn-api/src/org/apache/muse/ws/notification/NotificationProducer.java (original)
+++ webservices/muse/trunk/modules/muse-wsn-api/src/org/apache/muse/ws/notification/NotificationProducer.java Sun Feb 18 13:06:35 2007
@@ -209,6 +209,9 @@
     void publish(QName topicName, Element content)
         throws SoapFault;
     
+    void publish(QName topicName, Element[] content)
+        throws SoapFault;
+    
     /**
      * 
      * This is a convenience method that calls publish(QName, Element) after 
@@ -218,6 +221,9 @@
     void publish(QName topicName, XmlSerializable content)
         throws SoapFault;
 
+    void publish(QName topicName, XmlSerializable[] content)
+        throws SoapFault;
+
     /**
      * 
      * This is a convenience method that calls publish(QName, Element) after 
@@ -241,6 +247,9 @@
      * 
      */
     void publish(QName topicName, QName contentName, Object content)
+        throws SoapFault;
+
+    void publish(QName topicName, QName[] contentName, Object[] content)
         throws SoapFault;
     
     /**



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