Skip to content

Package: WebServiceProvider

WebServiceProvider

Coverage

1: /*
2: * Copyright (c) 2005, 2020 Oracle and/or its affiliates. All rights reserved.
3: *
4: * This program and the accompanying materials are made available under the
5: * terms of the Eclipse Distribution License v. 1.0, which is available at
6: * http://www.eclipse.org/org/documents/edl-v10.php.
7: *
8: * SPDX-License-Identifier: BSD-3-Clause
9: */
10:
11: package jakarta.xml.ws;
12:
13: import java.lang.annotation.Documented;
14: import java.lang.annotation.Target;
15: import java.lang.annotation.Retention;
16: import java.lang.annotation.ElementType;
17: import java.lang.annotation.RetentionPolicy;
18: /**
19: * Used to annotate a Provider implementation class.
20: *
21: * @since 1.6, JAX-WS 2.0
22: * @see jakarta.xml.ws.Provider
23: */
24: @Target(ElementType.TYPE)
25: @Retention(RetentionPolicy.RUNTIME)
26: @Documented
27: public @interface WebServiceProvider {
28: /**
29: * Location of the WSDL description for the service.
30: *
31: * @return location of the WSDL description
32: */
33: String wsdlLocation() default "";
34:
35: /**
36: * Service name.
37: *
38: * @return service name
39: */
40: String serviceName() default "";
41:
42: /**
43: * Target namespace for the service
44: *
45: * @return target namespace
46: */
47: String targetNamespace() default "";
48:
49: /**
50: * Port name.
51: *
52: * @return port name
53: */
54: String portName() default "";
55: }