KickJava   Java API By Example, From Geeks To Geeks.

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


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

5
6
7 package javax.xml.ws;
8
9 import java.lang.annotation.Documented JavaDoc;
10 import java.lang.annotation.Target JavaDoc;
11 import java.lang.annotation.Retention JavaDoc;
12 import java.lang.annotation.ElementType JavaDoc;
13 import java.lang.annotation.RetentionPolicy JavaDoc;
14 /**
15  * Used to annotate a Provider implementation class.
16  *
17  * @since JAX-WS 2.0
18  * @see javax.xml.ws.Provider
19  */

20 @Target JavaDoc(ElementType.TYPE)
21 @Retention JavaDoc(RetentionPolicy.RUNTIME)
22 @Documented JavaDoc
23 public @interface WebServiceProvider {
24     /**
25      * Location of the WSDL description for the service.
26      */

27     String JavaDoc wsdlLocation() default "";
28     
29     /**
30      * Service name.
31      */

32     String JavaDoc serviceName() default "";
33     
34     /**
35      * Target namespace for the service
36      */

37     String JavaDoc targetNamespace() default "";
38
39     /**
40      * Port name.
41      */

42     String JavaDoc portName() default "";
43 }
44
Popular Tags