You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pubscribe-commits@ws.apache.org by ip...@apache.org on 2005/10/18 19:32:48 UTC

svn commit: r326176 - in /webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem: Filesystem-TopicSpace.xml Filesystem_wsrf-config.xml ResourcePropertyValueChangeTopics.xml

Author: ips
Date: Tue Oct 18 10:32:45 2005
New Revision: 326176

URL: http://svn.apache.org/viewcvs?rev=326176&view=rev
Log:
updated config files in pristine Filesystem

Added:
    webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/ResourcePropertyValueChangeTopics.xml
Removed:
    webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem-TopicSpace.xml
Modified:
    webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_wsrf-config.xml

Modified: webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_wsrf-config.xml
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_wsrf-config.xml?rev=326176&r1=326175&r2=326176&view=diff
==============================================================================
--- webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_wsrf-config.xml (original)
+++ webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_wsrf-config.xml Tue Oct 18 10:32:45 2005
@@ -6,36 +6,59 @@
 
 <beans>
 
-  <bean name="resource/filesystem" class="org.apache.ws.resource.example.filesystem.FilesystemHome" init-method="init">
+  <bean name="FilesystemHome" class="org.apache.ws.resource.example.filesystem.FilesystemHome" init-method="init">
     <property name="portComponentName"><value>filesystem</value></property>
     <property name="serviceClass"><value>org.apache.ws.resource.example.filesystem.FilesystemService</value></property>
     <property name="resourceClass"><value>org.apache.ws.resource.example.filesystem.FilesystemResource</value></property>
     <property name="resourceIdentifierReferenceParameterName"><value>{http://ws.apache.org/resource/example/filesystem}ResourceIdentifier</value></property>
   </bean>
 
+  <bean id="TopicNamespaceRegistry" class="org.apache.ws.notification.topics.TopicNamespaceRegistry">
+    <constructor-arg>
+      <set>
+        <value>classpath:org/apache/ws/resource/example/filesystem/ResourcePropertyValueChangeTopics.xml</value>
+      </set>
+    </constructor-arg>
+  </bean>
+
   <bean name="org.apache.ws.resource.example.filesystem.FilesystemResource" class="org.apache.ws.resource.example.filesystem.FilesystemResource" singleton="false">
     <property name="topicSet">
       <bean class="org.apache.ws.notification.topics.impl.TopicSetImpl">
         <constructor-arg>
           <set>
+            <!--
             <bean class="org.apache.ws.notification.topics.expression.SimpleTopicExpression">
-              <constructor-arg><value>{http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd}ResourceTermination</value></constructor-arg>
+              <constructor-arg><value>{http://ws.apache.org/resource/example/filesystem}Type</value></constructor-arg>
             </bean>
+            -->
+            <!--
             <bean class="org.apache.ws.notification.topics.expression.SimpleTopicExpression">
-              <constructor-arg><value>{http://ws.apache.org/resource/example/filesystem}MountPointDirectory</value></constructor-arg>
+              <constructor-arg><value>{http://ws.apache.org/resource/example/filesystem}Comment</value></constructor-arg>
             </bean>
+            -->
+            <!--
             <bean class="org.apache.ws.notification.topics.expression.SimpleTopicExpression">
-              <constructor-arg><value>{http://ws.apache.org/resource/example/filesystem}Options</value></constructor-arg>
+              <constructor-arg><value>{http://ws.apache.org/resource/example/filesystem}DeviceSpecialFile</value></constructor-arg>
             </bean>
+            -->
+            <!--
             <bean class="org.apache.ws.notification.topics.expression.SimpleTopicExpression">
               <constructor-arg><value>{http://ws.apache.org/resource/example/filesystem}BackupFrequency</value></constructor-arg>
             </bean>
+            -->
+            <bean class="org.apache.ws.notification.topics.expression.SimpleTopicExpression">
+              <constructor-arg><value>{http://ws.apache.org/resource/example/filesystem}MountPointDirectory</value></constructor-arg>
+            </bean>
+            <!--
             <bean class="org.apache.ws.notification.topics.expression.SimpleTopicExpression">
               <constructor-arg><value>{http://ws.apache.org/resource/example/filesystem}FsckPassNumber</value></constructor-arg>
             </bean>
+            -->
+            <!--
             <bean class="org.apache.ws.notification.topics.expression.SimpleTopicExpression">
-              <constructor-arg><value>{http://ws.apache.org/resource/example/filesystem}Comment</value></constructor-arg>
+              <constructor-arg><value>{http://ws.apache.org/resource/example/filesystem}Options</value></constructor-arg>
             </bean>
+            -->
           </set>
         </constructor-arg>
       </bean>

Added: webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/ResourcePropertyValueChangeTopics.xml
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/ResourcePropertyValueChangeTopics.xml?rev=326176&view=auto
==============================================================================
--- webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/ResourcePropertyValueChangeTopics.xml (added)
+++ webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/ResourcePropertyValueChangeTopics.xml Tue Oct 18 10:32:45 2005
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+
+<TopicSpace name="ResourcePropertyValueChangeTopics"
+  targetNamespace="http://ws.apache.org/resource/example/filesystem"
+  xmlns="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-Topics-1.2-draft-01.xsd"
+  xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd">
+  <Topic name="DeviceSpecialFile" messageTypes="wsrp:ResourcePropertyValueChangeNotification" />
+  <Topic name="Type" messageTypes="wsrp:ResourcePropertyValueChangeNotification" />
+  <Topic name="Comment" messageTypes="wsrp:ResourcePropertyValueChangeNotification" />
+  <Topic name="FsckPassNumber" messageTypes="wsrp:ResourcePropertyValueChangeNotification" />
+  <Topic name="Options" messageTypes="wsrp:ResourcePropertyValueChangeNotification" />
+  <Topic name="MountPointDirectory" messageTypes="wsrp:ResourcePropertyValueChangeNotification" />
+  <Topic name="BackupFrequency" messageTypes="wsrp:ResourcePropertyValueChangeNotification" />
+</TopicSpace>