KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > jws > WebService


1 package javax.jws;
2
3 import java.lang.annotation.ElementType JavaDoc;
4 import java.lang.annotation.Retention JavaDoc;
5 import java.lang.annotation.RetentionPolicy JavaDoc;
6 import java.lang.annotation.Target JavaDoc;
7
8 import spoon.aval.annotation.value.URLValue;
9 import spoon.aval.annotations.jwsVal.ValidEndPointInterface;
10 import spoon.aval.annotations.jwsVal.ValidWebServiceBean;
11
12 @Retention JavaDoc(value = RetentionPolicy.RUNTIME)
13 @Target JavaDoc( { ElementType.TYPE })
14 @ValidEndPointInterface
15 @ValidWebServiceBean
16 public @interface WebService {
17     String JavaDoc name() default "";
18
19     String JavaDoc targetNamespace() default "";
20
21     String JavaDoc serviceName() default "";
22
23     @URLValue
24     String JavaDoc wsdlLocation() default "";
25
26     String JavaDoc endpointInterface() default "";
27 };
Popular Tags