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 ;10 import java.lang.annotation.Target ;11 import java.lang.annotation.Retention ;12 import java.lang.annotation.ElementType ;13 import java.lang.annotation.RetentionPolicy ;14 /**15 * Used to annotate a Provider implementation class.16 *17 * @since JAX-WS 2.018 * @see javax.xml.ws.Provider19 */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 service36 */37 String targetNamespace() default "";38 39 /**40 * Port name.41 */42 String portName() default "";43 }44