javax.xml.ws.WebEndpoint Maven / Gradle / Ivy
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package javax.xml.ws;
import java.lang.annotation.Documented;
import java.lang.annotation.Target;
import java.lang.annotation.Retention;
import java.lang.annotation.ElementType;
import java.lang.annotation.RetentionPolicy;
/**
* Used to annotate the getPortName()
* methods of a generated service interface.
*
* The information specified in this annotation is sufficient
* to uniquely identify a wsdl:port
element
* inside a wsdl:service
. The latter is
* determined based on the value of the WebServiceClient
* annotation on the generated service interface itself.
*
* @since JAX-WS 2.0
*
* @see javax.xml.ws.WebServiceClient
**/
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface WebEndpoint {
/**
* The local name of the endpoint.
**/
String name() default "";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy