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.ElementType;
11: import java.lang.annotation.Retention;
12: import java.lang.annotation.RetentionPolicy;
13:
14: /**
15: * The <code>BindingType</code> annotation is used to
16: * specify the binding to use for a web service
17: * endpoint implementation class.
18: * <p>
19: * This annotation may be overriden programmatically or via
20: * deployment descriptors, depending on the platform in use.
21: *
22: * @since JAX-WS 2.0
23: *
24: **/
25: @Target(ElementType.TYPE)
26: @Retention(RetentionPolicy.RUNTIME)
27: @Documented
28: public @interface BindingType {
29: /**
30: * A binding identifier (a URI).
31: * If not specified, the default is the SOAP 1.1 / HTTP binding.
32: * <p>
33: * See the <code>SOAPBinding</code> and <code>HTTPBinding</code>
34: * for the definition of the standard binding identifiers.
35: *
36: * @see javax.xml.ws.Binding
37: * @see javax.xml.ws.soap.SOAPBinding#SOAP11HTTP_BINDING
38: * @see javax.xml.ws.soap.SOAPBinding#SOAP12HTTP_BINDING
39: * @see javax.xml.ws.http.HTTPBinding#HTTP_BINDING
40: */
41: String value() default "";
42: }
|