axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jayachan...@apache.org
Subject svn commit: r224700 - in /webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc: ParameterIndex.java ServiceMode.java WebFault.java
Date Mon, 25 Jul 2005 06:56:55 GMT
Author: jayachandra
Date: Sun Jul 24 23:56:37 2005
New Revision: 224700

URL: http://svn.apache.org/viewcvs?rev=224700&view=rev
Log:
The three additional annotations declared in JAX-WS are being added
added      ParameterIndex.java
added      ServiceMode.java
added      WebFault.java

Added:
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/ParameterIndex.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/ServiceMode.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/WebFault.java

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/ParameterIndex.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/ParameterIndex.java?rev=224700&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/ParameterIndex.java
(added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/ParameterIndex.java
Sun Jul 24 23:56:37 2005
@@ -0,0 +1,36 @@
+/*
+ * Copyright 2004,2005 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.xml.rpc;
+
+import java.lang.annotation.*;
+
+/**
+ * Annotation Type ParameterIndex
+ * This annotation can only be applied against methods and fields and VM will
+ * retain this type annotations to enable reflective APIs to be used on them
+ * at runtime
+ * @author sunja07
+ */
+@Target(value={ElementType.METHOD,ElementType.FIELD})
+@Retention(value=RetentionPolicy.RUNTIME)
+public @interface ParameterIndex {
+	/**
+	 * The index of the method parameter that the annotated program element 
+	 * (a field or a method) corresponds to. 
+	 */
+	int value() default -1;
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/ServiceMode.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/ServiceMode.java?rev=224700&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/ServiceMode.java
(added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/ServiceMode.java
Sun Jul 24 23:56:37 2005
@@ -0,0 +1,39 @@
+/*
+ * Copyright 2004,2005 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.xml.rpc;
+
+import java.lang.annotation.*;
+import javax.xml.rpc.Service.Mode;
+
+/**
+ * Annotation Type ServiceMode
+ * This annotation can only be applied against classes, interfaces (annotations
+ * included), enum declarations and VM will retain this type annotations to 
+ * enable use of reflective APIs on them at runtime.
+ * @author sunja07
+ */
+@Target(value=ElementType.TYPE)
+@Retention(value=RetentionPolicy.RUNTIME)
+@Inherited
+public @interface ServiceMode {
+	/**
+	 * Service mode. PAYLOAD indicates that the Provider implementation wishes
+	 * to work with protocol message payloads only. MESSAGE indicates that the
+	 * Provider implementation wishes to work with entire protocol messages.
+	 */
+	Mode value() default Mode.PAYLOAD;
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/WebFault.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/WebFault.java?rev=224700&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/WebFault.java
(added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/WebFault.java
Sun Jul 24 23:56:37 2005
@@ -0,0 +1,45 @@
+/*
+ * Copyright 2004,2005 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.xml.rpc;
+
+import java.lang.annotation.*;
+
+/**
+ * Annotation Type WebFault
+ * This annotation can only be applied against classes, interfaces (annotations
+ * included), enum declarations and VM will retain this type annotations to 
+ * enable use of reflective APIs on them at runtime.
+ * @author sunja07
+ */
+@Target(value=ElementType.TYPE)
+@Retention(value=RetentionPolicy.RUNTIME)
+public @interface WebFault {
+	/**
+	 * Fault bean name.
+	 */
+	String faultBean() default "" ;
+	
+	/**
+	 * Elements local name.
+	 */
+	String name() default "" ;
+	
+	/**
+	 * Elements namespace name.
+	 */
+	String targetNamespace() default "" ;
+}



Mime
View raw message