KickJava   Java API By Example, From Geeks To Geeks.

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


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  * Used to annotate the <code>get<em>PortName</em>()</code>
16  * methods of a generated service interface.
17  *
18  * <p>The information specified in this annotation is sufficient
19  * to uniquely identify a <code>wsdl:port</code> element
20  * inside a <code>wsdl:service</code>. The latter is
21  * determined based on the value of the <code>WebServiceClient</code>
22  * annotation on the generated service interface itself.
23  *
24  * @since JAX-WS 2.0
25  *
26  * @see javax.xml.ws.WebServiceClient
27 **/

28 @Target JavaDoc({ElementType.METHOD})
29 @Retention JavaDoc(RetentionPolicy.RUNTIME)
30 @Documented JavaDoc
31 public @interface WebEndpoint {
32   /**
33    * The local name of the endpoint.
34   **/

35   String JavaDoc name() default "";
36 }
37
Popular Tags