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/01/06 19:11:34 UTC
svn commit: r493525 -
/webservices/muse/trunk/modules/muse-wsn-impl/src/org/apache/muse/ws/notification/impl/SimpleNotificationProducer.java
Author: danj
Date: Sat Jan 6 10:11:33 2007
New Revision: 493525
URL: http://svn.apache.org/viewvc?view=rev&rev=493525
Log:
added comments to yesterday's RMD-based code.
Modified:
webservices/muse/trunk/modules/muse-wsn-impl/src/org/apache/muse/ws/notification/impl/SimpleNotificationProducer.java
Modified: webservices/muse/trunk/modules/muse-wsn-impl/src/org/apache/muse/ws/notification/impl/SimpleNotificationProducer.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsn-impl/src/org/apache/muse/ws/notification/impl/SimpleNotificationProducer.java?view=diff&rev=493525&r1=493524&r2=493525
==============================================================================
--- webservices/muse/trunk/modules/muse-wsn-impl/src/org/apache/muse/ws/notification/impl/SimpleNotificationProducer.java (original)
+++ webservices/muse/trunk/modules/muse-wsn-impl/src/org/apache/muse/ws/notification/impl/SimpleNotificationProducer.java Sat Jan 6 10:11:33 2007
@@ -350,6 +350,10 @@
props.addChangeListener(listener);
}
+ //
+ // read all of the wsnt:TopicExpression values from the RMD doc
+ // and make sure we create Topic objects for them
+ //
Collection[] values = new Collection[2];
values[0] = props.getMetadata().getInitialValues(WsnConstants.TOPIC_EXPRESSION_QNAME);
values[1] = props.getMetadata().getStaticValues(WsnConstants.TOPIC_EXPRESSION_QNAME);
@@ -360,8 +364,8 @@
while (i.hasNext())
{
- Element topicTree = (Element)i.next();
- QName topicName = XmlUtils.getQName(topicTree);
+ Element topicExpression = (Element)i.next();
+ QName topicName = XmlUtils.getQName(topicExpression);
addTopic(topicName);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-help@ws.apache.org