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: * Used to annotate a Provider implementation class.
16: *
17: * @since JAX-WS 2.0
18: * @see javax.xml.ws.Provider
19: */
20: @Target(ElementType.TYPE)
21: @Retention(RetentionPolicy.RUNTIME)
22: @Documented
23: public @interface WebServiceProvider {
24: /**
25: * Location of the WSDL description for the service.
26: */
27: String wsdlLocation() default "";
28:
29: /**
30: * Service name.
31: */
32: String serviceName() default "";
33:
34: /**
35: * Target namespace for the service
36: */
37: String targetNamespace() default "";
38:
39: /**
40: * Port name.
41: */
42: String portName() default "";
43: }
|