Author: scamp
Date: Wed May 18 06:37:22 2005
New Revision: 170752
URL: http://svn.apache.org/viewcvs?rev=170752&view=rev
Log: (empty)
Modified:
incubator/hermes/trunk/src/java/org/apache/ws/notification/tool/WsnWsdl2Java.java
Modified:
incubator/hermes/trunk/src/java/org/apache/ws/notification/tool/WsnWsdl2Java.java
URL:
http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/tool/WsnWsdl2Java.java?rev=170752&r1=170751&r2=170752&view=diff
==============================================================================
---
incubator/hermes/trunk/src/java/org/apache/ws/notification/tool/WsnWsdl2Java.java
(original)
+++
incubator/hermes/trunk/src/java/org/apache/ws/notification/tool/WsnWsdl2Java.java
Wed May 18 06:37:22 2005
@@ -70,10 +70,15 @@
return WEBAPP_NAME;
}
- protected VelocityContext updateVelociyContext(VelocityContext
velocityContext, ResourceDefinition resourceDef)
+ /**
+ * Provides a hook for adding to the Velocity Context.
+ *
+ * @param context
+ * @return VelocityContext
+ */
+ protected VelocityContext updateVelocityContext(VelocityContext context,
ResourceDefinition resourceDef)
{
- super.updateVelocityContext(velocityContext,resourceDef);
-
+ return super.updateVelocityContext(context, resourceDef);
if(hasPropChange(resourceDef))
{
velocityContext.put(VCTY_CTX_PROP_CHANGE,"true");
@@ -92,6 +97,7 @@
return velocityContext;
}
+
private boolean hasNotificationProducer(ResourceDefinition resourceDef)
{
return
resourceDef.implementsResourceCapability(org.apache.ws.notification.base.v2004_06.porttype.NotificationProducerPortType.NAME);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]