You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-dev@ws.apache.org by sc...@apache.org on 2005/05/04 19:05:15 UTC

svn commit: r168146 - /incubator/apollo/trunk/src/templates/Resource.vm

Author: scamp
Date: Wed May  4 10:05:15 2005
New Revision: 168146

URL: http://svn.apache.org/viewcvs?rev=168146&view=rev
Log:
updated to init the NotifProducer Topics...this had to be done here...

Modified:
    incubator/apollo/trunk/src/templates/Resource.vm

Modified: incubator/apollo/trunk/src/templates/Resource.vm
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/src/templates/Resource.vm?rev=168146&r1=168145&r2=168146&view=diff
==============================================================================
--- incubator/apollo/trunk/src/templates/Resource.vm (original)
+++ incubator/apollo/trunk/src/templates/Resource.vm Wed May  4 10:05:15 2005
@@ -61,12 +61,30 @@
 	#end
 	
 	#foreach( $implementedProp in $generated.ImplementedProperties )
-	// Resource Property ${implementedProp.toString()} is implemented by Apollo
+	// Resource Property ${implementedProp.toString()} is implemented by framework.
 	#end
 	#end
 	
 	#foreach( $includeFile in $generated.ResourceInitIncludeLocations )
 		#parse( $includeFile )
-        #end    
+        #end   
+        
+        #if ($notificationProducer)
+        /**
+         * Initializes the Topic, TopicExpressionDialects and FixedTopicSet resource properties
+	 * </br>
+	 * FixedTopicSet will be set based on the value returned from the {@see TopicSpaceSet#isFixed()} method.
+	 * </br>
+	 * Topic will have all root topics in the TopicSpaceSet, set to Simple dialect AND all child topics set to
+	 * Concrete dialect.
+	 * </br>
+	 *
+     	 * TopicExpressionDialects will be set to the engine's known Topic Dialects acquired from the TopicExpressionEngine
+     	 *
+     	 * If this is not the behavior you would like, you will need to remove the following line of code and initialize the properties
+     	 * individually.
+         */
+        org.apache.ws.notification.topics.util.TopicUtils.initNotificationProducerProperties(getTopicSpaceSet() , getResourcePropertySet());
+        #end
 }
 }



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