src/share/jaxws_classes/javax/xml/ws/Endpoint.java

Print this page
rev 507 : 8047724: @since tag cleanup in jaxws
Reviewed-by:

*** 59,69 **** * and XMLSchema documents, bound to it. At publishing time, the * JAX-WS implementation will try to reuse as much of that metadata * as possible instead of generating new ones based on the annotations * present on the implementor. * ! * @since JAX-WS 2.0 * * @see javax.xml.ws.Binding * @see javax.xml.ws.BindingType * @see javax.xml.ws.soap.SOAPBinding * @see java.util.concurrent.Executor --- 59,69 ---- * and XMLSchema documents, bound to it. At publishing time, the * JAX-WS implementation will try to reuse as much of that metadata * as possible instead of generating new ones based on the annotations * present on the implementor. * ! * @since 1.6, JAX-WS 2.0 * * @see javax.xml.ws.Binding * @see javax.xml.ws.BindingType * @see javax.xml.ws.soap.SOAPBinding * @see java.util.concurrent.Executor
*** 117,127 **** * endpoint. Supported features not in the <code>features * </code> parameter will have their default values. * * * @return The newly created endpoint. ! * @since JAX-WS 2.2 * */ public static Endpoint create(Object implementor, WebServiceFeature ... features) { return create(null, implementor, features); } --- 117,127 ---- * endpoint. Supported features not in the <code>features * </code> parameter will have their default values. * * * @return The newly created endpoint. ! * @since 1.7, JAX-WS 2.2 * */ public static Endpoint create(Object implementor, WebServiceFeature ... features) { return create(null, implementor, features); }
*** 164,174 **** * @param features A list of WebServiceFeature to configure on the * endpoint. Supported features not in the <code>features * </code> parameter will have their default values. * * @return The newly created endpoint. ! * @since JAX-WS 2.2 */ public static Endpoint create(String bindingId, Object implementor, WebServiceFeature ... features) { return Provider.provider().createEndpoint(bindingId, implementor, features); } --- 164,174 ---- * @param features A list of WebServiceFeature to configure on the * endpoint. Supported features not in the <code>features * </code> parameter will have their default values. * * @return The newly created endpoint. ! * @since 1.7, JAX-WS 2.2 */ public static Endpoint create(String bindingId, Object implementor, WebServiceFeature ... features) { return Provider.provider().createEndpoint(bindingId, implementor, features); }
*** 264,274 **** * * @throws java.lang.SecurityException * If a <code>java.lang.SecurityManger</code> * is being used and the application doesn't have the * <code>WebServicePermission("publishEndpoint")</code> permission. ! * @since JAX-WS 2.2 */ public static Endpoint publish(String address, Object implementor, WebServiceFeature ... features) { return Provider.provider().createAndPublishEndpoint(address, implementor, features); } --- 264,274 ---- * * @throws java.lang.SecurityException * If a <code>java.lang.SecurityManger</code> * is being used and the application doesn't have the * <code>WebServicePermission("publishEndpoint")</code> permission. ! * @since 1.7, JAX-WS 2.2 */ public static Endpoint publish(String address, Object implementor, WebServiceFeature ... features) { return Provider.provider().createAndPublishEndpoint(address, implementor, features); }
*** 328,338 **** * * @throws java.lang.SecurityException * If a <code>java.lang.SecurityManger</code> * is being used and the application doesn't have the * <code>WebServicePermission("publishEndpoint")</code> permission. ! * @since JAX-WS 2.2 */ public void publish(HttpContext serverContext) { throw new UnsupportedOperationException("JAX-WS 2.2 implementation must override this default behaviour."); } --- 328,338 ---- * * @throws java.lang.SecurityException * If a <code>java.lang.SecurityManger</code> * is being used and the application doesn't have the * <code>WebServicePermission("publishEndpoint")</code> permission. ! * @since 1.7, JAX-WS 2.2 */ public void publish(HttpContext serverContext) { throw new UnsupportedOperationException("JAX-WS 2.2 implementation must override this default behaviour."); }
*** 444,454 **** * @throws UnsupportedOperationException If this <code>BindingProvider</code> * uses the XML/HTTP binding. * * @see W3CEndpointReference * ! * @since JAX-WS 2.1 **/ public abstract EndpointReference getEndpointReference(Element... referenceParameters); /** --- 444,454 ---- * @throws UnsupportedOperationException If this <code>BindingProvider</code> * uses the XML/HTTP binding. * * @see W3CEndpointReference * ! * @since 1.6, JAX-WS 2.1 **/ public abstract EndpointReference getEndpointReference(Element... referenceParameters); /**
*** 470,480 **** * <code>EndpointReference</code> type. * @throws UnsupportedOperationException If this <code>BindingProvider</code> * uses the XML/HTTP binding. * * ! * @since JAX-WS 2.1 **/ public abstract <T extends EndpointReference> T getEndpointReference(Class<T> clazz, Element... referenceParameters); /** --- 470,480 ---- * <code>EndpointReference</code> type. * @throws UnsupportedOperationException If this <code>BindingProvider</code> * uses the XML/HTTP binding. * * ! * @since 1.6, JAX-WS 2.1 **/ public abstract <T extends EndpointReference> T getEndpointReference(Class<T> clazz, Element... referenceParameters); /**
*** 488,498 **** * * @param ctxt that is shared for multiple endpoints * @throws java.lang.IllegalStateException * If the endpoint has been published already or it has been stopped. * ! * @since JAX-WS 2.2 */ public void setEndpointContext(EndpointContext ctxt) { throw new UnsupportedOperationException("JAX-WS 2.2 implementation must override this default behaviour."); } } --- 488,498 ---- * * @param ctxt that is shared for multiple endpoints * @throws java.lang.IllegalStateException * If the endpoint has been published already or it has been stopped. * ! * @since 1.7, JAX-WS 2.2 */ public void setEndpointContext(EndpointContext ctxt) { throw new UnsupportedOperationException("JAX-WS 2.2 implementation must override this default behaviour."); } }