KickJava   Java API By Example, From Geeks To Geeks.

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


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.ElementType JavaDoc;
11 import java.lang.annotation.Retention JavaDoc;
12 import java.lang.annotation.RetentionPolicy JavaDoc;
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 JavaDoc(ElementType.TYPE)
26 @Retention JavaDoc(RetentionPolicy.RUNTIME)
27 @Documented JavaDoc
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 JavaDoc value() default "" ;
42 }
43
Popular Tags