ws-wsrf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject svn commit: r292866 - in /webservices/wsrf/trunk/src: examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/ java/org/apache/ws/resource/tool/
Date Fri, 30 Sep 2005 22:31:22 GMT
Author: ips
Date: Fri Sep 30 15:31:10 2005
New Revision: 292866

URL: http://svn.apache.org/viewcvs?rev=292866&view=rev
Log:
...

Added:
    webservices/wsrf/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_spring-jndi-config.xml
Modified:
    webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/PortType2JavaInfo.java
    webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/Wsdl2Java.java

Added: webservices/wsrf/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_spring-jndi-config.xml
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_spring-jndi-config.xml?rev=292866&view=auto
==============================================================================
--- webservices/wsrf/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_spring-jndi-config.xml
(added)
+++ webservices/wsrf/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_spring-jndi-config.xml
Fri Sep 30 15:31:10 2005
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+
+<!-- *** WARNING: This file will be overwritten during generation *** -->
+
+<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+
+<beans>
+
+  <bean name="resource/filesystem" class="org.apache.ws.resource.example.filesystem.FilesystemHome"
init-method="init">
+    <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>
+
+</beans>

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/PortType2JavaInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/PortType2JavaInfo.java?rev=292866&r1=292865&r2=292866&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/PortType2JavaInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/PortType2JavaInfo.java Fri
Sep 30 15:31:10 2005
@@ -65,8 +65,8 @@
 
    /**
     * Returns the name of a Velocity template file that should be parsed and
-    * included in the body of the generated resource class, or null if no
-    * template should be parsed and included.
+    * included in the body of the generated abstract resource class, or null
+    * if no template should be parsed and included.
     *
     * @return the name of a Velocity template file that should be parsed and
     *         included in the body of the generated resource class, or null if no

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/Wsdl2Java.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/Wsdl2Java.java?rev=292866&r1=292865&r2=292866&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/Wsdl2Java.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/Wsdl2Java.java Fri Sep 30
15:31:10 2005
@@ -880,6 +880,9 @@
          outputFile = new File( packageDir, capitalizedServiceName + "_jndi-config.xml" );
          processTemplate( context, "templates/jndi.vm", outputFile );
 
+         outputFile = new File( packageDir, capitalizedServiceName + "_spring-jndi-config.xml"
);
+         processTemplate( context, "templates/spring-jndi-config.xml.vm", outputFile );
+
          outputFile = new File( packageDir, capitalizedServiceName + "CustomOperationsPortType.java"
);
          processTemplate( context, "templates/CustomOperationsPortType.vm", outputFile );
 



Mime
View raw message