KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > xml > ws > RequestWrapper


1 /*
2  * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
3  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4  */

5
6 package javax.xml.ws;
7
8 import java.lang.annotation.Documented JavaDoc;
9 import java.lang.annotation.Target JavaDoc;
10 import java.lang.annotation.Retention JavaDoc;
11 import java.lang.annotation.ElementType JavaDoc;
12 import java.lang.annotation.RetentionPolicy JavaDoc;
13
14 /**
15
16  * Used to annotate methods in the Service Endpoint Interface with the request
17  * wrapper bean to be used at runtime. The default value of the <code>localName</code> is
18  * the <code>operationName</code>, as defined in <code>WebMethod</code> annotation and the
19  * <code>targetNamespace</code> is the target namespace of the SEI.
20  * <p> When starting from Java this annotation is used resolve
21  * overloading conflicts in document literal mode. Only the <code>className</code>
22  * is required in this case.
23  *
24  * @since JAX-WS 2.0
25  **/

26
27 @Target JavaDoc(ElementType.METHOD)
28 @Retention JavaDoc(RetentionPolicy.RUNTIME)
29 @Documented JavaDoc
30 public @interface RequestWrapper {
31   /**
32    * Element's local name.
33   **/

34   public String JavaDoc localName() default "";
35
36   /**
37    * Element's namespace name.
38   **/

39   public String JavaDoc targetNamespace() default "";
40
41   /**
42    * Request wrapper bean name.
43   **/

44   public String JavaDoc className() default "";
45
46 }
47
48
Popular Tags