01: /*
02: * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
03: * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
04: */
05:
06: package javax.xml.ws;
07:
08: import java.lang.annotation.Documented;
09: import java.lang.annotation.Target;
10: import java.lang.annotation.Retention;
11: import java.lang.annotation.ElementType;
12: import java.lang.annotation.RetentionPolicy;
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(ElementType.METHOD)
28: @Retention(RetentionPolicy.RUNTIME)
29: @Documented
30: public @interface RequestWrapper {
31: /**
32: * Element's local name.
33: **/
34: public String localName() default "";
35:
36: /**
37: * Element's namespace name.
38: **/
39: public String targetNamespace() default "";
40:
41: /**
42: * Request wrapper bean name.
43: **/
44: public String className() default "";
45:
46: }
|