You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by mm...@apache.org on 2005/05/26 01:36:17 UTC

svn commit: r178552 - in /incubator/beehive/trunk/wsm: ./ lib/ src/api/ src/api/javax/ src/api/javax/jws/ src/api/javax/jws/soap/

Author: mmerz
Date: Wed May 25 16:36:17 2005
New Revision: 178552

URL: http://svn.apache.org/viewcvs?rev=178552&view=rev
Log:
Removed the jsr181.jar and added a "clean-room" impl. of the javax.jws api classes.

Contributor: Daryoush Mehrtash

Added:
    incubator/beehive/trunk/wsm/src/api/
    incubator/beehive/trunk/wsm/src/api/javax/
    incubator/beehive/trunk/wsm/src/api/javax/jws/
    incubator/beehive/trunk/wsm/src/api/javax/jws/HandlerChain.java
    incubator/beehive/trunk/wsm/src/api/javax/jws/Oneway.java
    incubator/beehive/trunk/wsm/src/api/javax/jws/WebMethod.java
    incubator/beehive/trunk/wsm/src/api/javax/jws/WebParam.java
    incubator/beehive/trunk/wsm/src/api/javax/jws/WebResult.java
    incubator/beehive/trunk/wsm/src/api/javax/jws/WebService.java
    incubator/beehive/trunk/wsm/src/api/javax/jws/soap/
    incubator/beehive/trunk/wsm/src/api/javax/jws/soap/InitParam.java
    incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPBinding.java
    incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPMessageHandler.java
    incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPMessageHandlers.java
Removed:
    incubator/beehive/trunk/wsm/lib/jsr181.jar
Modified:
    incubator/beehive/trunk/wsm/build.xml

Modified: incubator/beehive/trunk/wsm/build.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/build.xml?rev=178552&r1=178551&r2=178552&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/build.xml (original)
+++ incubator/beehive/trunk/wsm/build.xml Wed May 25 16:36:17 2005
@@ -125,7 +125,7 @@
     <!-- ==================================================================== -->
     <!-- Compiles the source code of the project. -->
     <!-- ==================================================================== -->
-    <target name="classes" depends="runtime">
+    <target name="classes" depends="api, runtime">
         <!-- Copy template files into the build -->
         <copy todir="${runtime.classes}" overwrite="true">
             <fileset dir="${runtime.dir}" includes="**/*.template,**/*.vm,META-INF/**"/>
@@ -136,7 +136,17 @@
         </copy>
     </target>
     
-    <target name="runtime" depends="dirs">
+    
+    <target name="api" depends="dirs">
+           <!-- Build the API classes -->
+           <javac destdir="${api.classes}" debug="on">
+               <src path="${api.dir}"/>
+           </javac>
+    </target>
+       
+        
+    
+    <target name="runtime" depends="api">
         <!-- Build the runtime classes -->
         <javac destdir="${runtime.classes}" classpathref="runtime.classpath" debug="on">
             <src path="${runtime.dir}"/>

Added: incubator/beehive/trunk/wsm/src/api/javax/jws/HandlerChain.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/src/api/javax/jws/HandlerChain.java?rev=178552&view=auto
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/HandlerChain.java (added)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/HandlerChain.java Wed May 25 16:36:17 2005
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package javax.jws;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
+
+@Retention(value = RetentionPolicy.RUNTIME)
+@Target(value = ElementType.TYPE)
+public @interface HandlerChain {
+    String file();
+
+    String name();
+}
\ No newline at end of file

Added: incubator/beehive/trunk/wsm/src/api/javax/jws/Oneway.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/src/api/javax/jws/Oneway.java?rev=178552&view=auto
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/Oneway.java (added)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/Oneway.java Wed May 25 16:36:17 2005
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package javax.jws;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
+
+@Retention(value = RetentionPolicy.RUNTIME)
+@Target(value = ElementType.METHOD)
+public @interface Oneway {
+
+}
\ No newline at end of file

Added: incubator/beehive/trunk/wsm/src/api/javax/jws/WebMethod.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/src/api/javax/jws/WebMethod.java?rev=178552&view=auto
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/WebMethod.java (added)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/WebMethod.java Wed May 25 16:36:17 2005
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package javax.jws;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
+
+@Retention(value = RetentionPolicy.RUNTIME)
+@Target(value = ElementType.METHOD)
+public @interface WebMethod {
+    String action() default "";
+
+    String operationName() default "";
+}
\ No newline at end of file

Added: incubator/beehive/trunk/wsm/src/api/javax/jws/WebParam.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/src/api/javax/jws/WebParam.java?rev=178552&view=auto
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/WebParam.java (added)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/WebParam.java Wed May 25 16:36:17 2005
@@ -0,0 +1,37 @@
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package javax.jws;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
+
+@Retention(value = RetentionPolicy.RUNTIME)
+@Target(value = ElementType.PARAMETER)
+public @interface WebParam {
+    boolean header() default false;
+
+    Mode mode() default Mode.IN;
+
+    String name() default "";
+
+    String targetNamespace() default "";
+
+    public enum Mode {
+        IN, OUT, INOUT
+    };
+}
\ No newline at end of file

Added: incubator/beehive/trunk/wsm/src/api/javax/jws/WebResult.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/src/api/javax/jws/WebResult.java?rev=178552&view=auto
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/WebResult.java (added)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/WebResult.java Wed May 25 16:36:17 2005
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package javax.jws;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
+
+@Retention(value = RetentionPolicy.RUNTIME)
+@Target(value = ElementType.METHOD)
+public @interface WebResult {
+    String name() default "return";
+
+    String targetNamespace() default "";
+}
\ No newline at end of file

Added: incubator/beehive/trunk/wsm/src/api/javax/jws/WebService.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/src/api/javax/jws/WebService.java?rev=178552&view=auto
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/WebService.java (added)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/WebService.java Wed May 25 16:36:17 2005
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package javax.jws;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
+
+@Retention(value = RetentionPolicy.RUNTIME)
+@Target(value = ElementType.TYPE)
+public @interface WebService {
+    String endpointInterface() default "";
+
+    String name() default "";
+
+    String serviceName() default "";
+
+    String targetNamespace() default "";
+
+    String wsdlLocation() default "";
+}
\ No newline at end of file

Added: incubator/beehive/trunk/wsm/src/api/javax/jws/soap/InitParam.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/src/api/javax/jws/soap/InitParam.java?rev=178552&view=auto
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/soap/InitParam.java (added)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/soap/InitParam.java Wed May 25 16:36:17 2005
@@ -0,0 +1,22 @@
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package javax.jws.soap;
+
+public @interface InitParam {
+    String name();
+
+    String value();
+}
\ No newline at end of file

Added: incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPBinding.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPBinding.java?rev=178552&view=auto
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPBinding.java (added)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPBinding.java Wed May 25 16:36:17 2005
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package javax.jws.soap;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
+
+@Retention(value = RetentionPolicy.RUNTIME)
+@Target(value = ElementType.TYPE)
+public @interface SOAPBinding {
+    ParameterStyle parameterStyle() default ParameterStyle.WRAPPED;
+
+    Style style() default Style.DOCUMENT;
+
+    Use use() default Use.LITERAL;
+
+    public enum ParameterStyle {
+        BARE, WRAPPED
+    };
+
+    public enum Style {
+        DOCUMENT, RPC
+    };
+
+    public enum Use {
+        LITERAL, ENCODED
+    };
+}
\ No newline at end of file

Added: incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPMessageHandler.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPMessageHandler.java?rev=178552&view=auto
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPMessageHandler.java (added)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPMessageHandler.java Wed May 25 16:36:17 2005
@@ -0,0 +1,28 @@
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package javax.jws.soap;
+
+public @interface SOAPMessageHandler {
+    String className();
+
+    String[] headers() default {};
+
+    InitParam[] initParams() default {};
+
+    String name() default "";
+
+    String[] roles() default {};
+}
\ No newline at end of file

Added: incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPMessageHandlers.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPMessageHandlers.java?rev=178552&view=auto
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPMessageHandlers.java (added)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPMessageHandlers.java Wed May 25 16:36:17 2005
@@ -0,0 +1,28 @@
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package javax.jws.soap;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
+
+@Retention(value = RetentionPolicy.RUNTIME)
+@Target(value = ElementType.TYPE)
+public @interface SOAPMessageHandlers {
+    SOAPMessageHandler[] value();
+
+}
\ No newline at end of file