You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2007/02/18 21:04:42 UTC

svn commit: r508968 - in /webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws: HandlerChain.java Oneway.java soap/InitParam.java soap/SOAPBinding.java soap/SOAPMessageHandler.java soap/SOAPMessageHandlers.java

Author: dims
Date: Sun Feb 18 12:04:41 2007
New Revision: 508968

URL: http://svn.apache.org/viewvc?view=rev&rev=508968
Log:
Updated to latest maintenance release (http://jcp.org/en/jsr/detail?id=181)

Added:
    webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/InitParam.java
    webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/SOAPMessageHandler.java
    webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/SOAPMessageHandlers.java
Modified:
    webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/HandlerChain.java
    webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/Oneway.java
    webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/SOAPBinding.java

Modified: webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/HandlerChain.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/HandlerChain.java?view=diff&rev=508968&r1=508967&r2=508968
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/HandlerChain.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/HandlerChain.java Sun Feb 18 12:04:41 2007
@@ -8,9 +8,10 @@
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
-@Target(ElementType.TYPE)
+@Target ({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
 @Retention(RetentionPolicy.RUNTIME)
 public @interface HandlerChain {
 	String file();
-	String name() default "";
+    @Deprecated
+    String name() default "";
 }

Modified: webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/Oneway.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/Oneway.java?view=diff&rev=508968&r1=508967&r2=508968
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/Oneway.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/Oneway.java Sun Feb 18 12:04:41 2007
@@ -5,8 +5,11 @@
 
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
 
 @Retention(RetentionPolicy.RUNTIME)
+@Target({ElementType.METHOD})
 public @interface Oneway {
 	
 }

Added: webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/InitParam.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/InitParam.java?view=auto&rev=508968
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/InitParam.java (added)
+++ webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/InitParam.java Sun Feb 18 12:04:41 2007
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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;
+
+@Deprecated
+public @interface InitParam {
+    String name();
+
+    String value();
+}

Modified: webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/SOAPBinding.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/SOAPBinding.java?view=diff&rev=508968&r1=508967&r2=508968
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/SOAPBinding.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/SOAPBinding.java Sun Feb 18 12:04:41 2007
@@ -20,7 +20,7 @@
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
-@Target ({ElementType.METHOD, ElementType.TYPE})
+@Target ({ElementType.TYPE, ElementType.METHOD})
 @Retention(RetentionPolicy.RUNTIME)
 public @interface SOAPBinding {
     public enum Style{DOCUMENT, RPC};

Added: webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/SOAPMessageHandler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/SOAPMessageHandler.java?view=auto&rev=508968
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/SOAPMessageHandler.java (added)
+++ webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/SOAPMessageHandler.java Sun Feb 18 12:04:41 2007
@@ -0,0 +1,30 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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;
+
+@Deprecated
+public @interface SOAPMessageHandler {
+    String className();
+
+    String[] headers() default {};
+
+    InitParam[] initParams() default {};
+
+    String name() default "";
+
+    String[] roles() default {};
+}

Added: webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/SOAPMessageHandlers.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/SOAPMessageHandlers.java?view=auto&rev=508968
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/SOAPMessageHandlers.java (added)
+++ webservices/axis2/trunk/java/modules/jaxws-api/src/javax/jws/soap/SOAPMessageHandlers.java Sun Feb 18 12:04:41 2007
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Deprecated
+@Retention(value = RetentionPolicy.RUNTIME)
+@Target(value = ElementType.TYPE)
+public @interface SOAPMessageHandlers {
+    SOAPMessageHandler[] value();
+}



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