Skip to content

Commit

Permalink
replace obsolete references to javax with jakarta
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
  • Loading branch information
lukasj committed Apr 1, 2020
1 parent cd6ef7a commit e601439
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 30 deletions.
6 changes: 3 additions & 3 deletions api/src/main/java/jakarta/xml/ws/BindingProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ public interface BindingProvider {
/**
* Standard property for SOAPAction. This boolean property
* indicates whether or not the value of the
* {@code javax.xml.ws.soap.http.soapaction.uri} property
* {@code jakarta.xml.ws.soap.http.soapaction.uri} property
* is used for the value of the SOAPAction. The
* default value of this property is {@code false} indicating
* that the
* {@code javax.xml.ws.soap.http.soapaction.uri} property
* {@code jakarta.xml.ws.soap.http.soapaction.uri} property
* is not used for the value of the SOAPAction, however,
* if WS-Addressing is enabled, the default value is
* {@code true}.
Expand All @@ -78,7 +78,7 @@ public interface BindingProvider {

/**
* Standard property for SOAPAction. Indicates the SOAPAction
* URI if the {@code javax.xml.ws.soap.http.soapaction.use}
* URI if the {@code jakarta.xml.ws.soap.http.soapaction.use}
* property is set to {@code true}. If WS-Addressing
* is enabled, this value will also be used for the value of the
* WS-Addressing Action header. If this property is not set,
Expand Down
4 changes: 2 additions & 2 deletions api/src/main/java/jakarta/xml/ws/Endpoint.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ public abstract class Endpoint {
/** Standard property: name of WSDL service.
* <p>Type: javax.xml.namespace.QName
**/
public static final String WSDL_SERVICE = "javax.xml.ws.wsdl.service";
public static final String WSDL_SERVICE = "jakarta.xml.ws.wsdl.service";

/** Standard property: name of WSDL port.
* <p>Type: javax.xml.namespace.QName
**/
public static final String WSDL_PORT = "javax.xml.ws.wsdl.port";
public static final String WSDL_PORT = "jakarta.xml.ws.wsdl.port";

/**
* Creates an endpoint with the specified implementor object. If there is
Expand Down
8 changes: 4 additions & 4 deletions api/src/main/java/jakarta/xml/ws/Service.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* <p>{@code Service} acts as a factory of the following:
* <ul>
* <li>Proxies for a target service endpoint.</li>
* <li>Instances of {@link javax.xml.ws.Dispatch} for
* <li>Instances of {@link jakarta.xml.ws.Dispatch} for
* dynamic message-oriented invocation of a remote
* operation.
* </li>
Expand All @@ -44,8 +44,8 @@
*
* @since 1.6, JAX-WS 2.0
*
* @see javax.xml.ws.spi.Provider
* @see javax.xml.ws.handler.HandlerResolver
* @see jakarta.xml.ws.spi.Provider
* @see jakarta.xml.ws.handler.HandlerResolver
* @see java.util.concurrent.Executor
**/
public class Service {
Expand Down Expand Up @@ -676,7 +676,7 @@ public HandlerResolver getHandlerResolver() {
* @param handlerResolver The {@code HandlerResolver} to use
* for all subsequently created proxy/dispatch objects.
*
* @see javax.xml.ws.handler.HandlerResolver
* @see jakarta.xml.ws.handler.HandlerResolver
**/
public void setHandlerResolver(HandlerResolver handlerResolver) {
delegate.setHandlerResolver(handlerResolver);
Expand Down
2 changes: 1 addition & 1 deletion api/src/main/java/jakarta/xml/ws/WebEndpoint.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*
* @since 1.6, JAX-WS 2.0
*
* @see javax.xml.ws.WebServiceClient
* @see jakarta.xml.ws.WebServiceClient
**/
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
Expand Down
36 changes: 18 additions & 18 deletions api/src/main/java/jakarta/xml/ws/handler/MessageContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,121 +31,121 @@ public interface MessageContext extends Map<String, Object> {
* <p>Type: boolean
*/
public static final String MESSAGE_OUTBOUND_PROPERTY =
"javax.xml.ws.handler.message.outbound";
"jakarta.xml.ws.handler.message.outbound";

/**
* Standard property: Map of attachments to a message for the inbound
* message, key is the MIME Content-ID, value is a DataHandler.
* <p>Type: {@code java.util.Map<String, DataHandler>}
*/
public static final String INBOUND_MESSAGE_ATTACHMENTS =
"javax.xml.ws.binding.attachments.inbound";
"jakarta.xml.ws.binding.attachments.inbound";

/**
* Standard property: Map of attachments to a message for the outbound
* message, key is the MIME Content-ID, value is a DataHandler.
* <p>Type: {@code java.util.Map<String, DataHandler>}
*/
public static final String OUTBOUND_MESSAGE_ATTACHMENTS =
"javax.xml.ws.binding.attachments.outbound";
"jakarta.xml.ws.binding.attachments.outbound";

/**
* Standard property: input source for WSDL document.
* <p>Type: org.xml.sax.InputSource
*/
public static final String WSDL_DESCRIPTION =
"javax.xml.ws.wsdl.description";
"jakarta.xml.ws.wsdl.description";

/**
* Standard property: name of WSDL service.
* <p>Type: javax.xml.namespace.QName
*/
public static final String WSDL_SERVICE =
"javax.xml.ws.wsdl.service";
"jakarta.xml.ws.wsdl.service";

/**
* Standard property: name of WSDL port.
* <p>Type: javax.xml.namespace.QName
*/
public static final String WSDL_PORT =
"javax.xml.ws.wsdl.port";
"jakarta.xml.ws.wsdl.port";

/**
* Standard property: name of wsdl interface (2.0) or port type (1.1).
* <p>Type: javax.xml.namespace.QName
*/
public static final String WSDL_INTERFACE =
"javax.xml.ws.wsdl.interface";
"jakarta.xml.ws.wsdl.interface";

/**
* Standard property: name of WSDL operation.
* <p>Type: javax.xml.namespace.QName
*/
public static final String WSDL_OPERATION =
"javax.xml.ws.wsdl.operation";
"jakarta.xml.ws.wsdl.operation";

/**
* Standard property: HTTP response status code.
* <p>Type: java.lang.Integer
*/
public static final String HTTP_RESPONSE_CODE =
"javax.xml.ws.http.response.code";
"jakarta.xml.ws.http.response.code";

/**
* Standard property: HTTP request headers.
* <p>Type: {@code java.util.Map<java.lang.String, java.util.List<java.lang.String>>}
*/
public static final String HTTP_REQUEST_HEADERS =
"javax.xml.ws.http.request.headers";
"jakarta.xml.ws.http.request.headers";

/**
* Standard property: HTTP response headers.
* <p>Type: {@code java.util.Map<java.lang.String, java.util.List<java.lang.String>>}
*/
public static final String HTTP_RESPONSE_HEADERS =
"javax.xml.ws.http.response.headers";
"jakarta.xml.ws.http.response.headers";

/**
* Standard property: HTTP request method.
* <p>Type: java.lang.String
*/
public static final String HTTP_REQUEST_METHOD =
"javax.xml.ws.http.request.method";
"jakarta.xml.ws.http.request.method";

/**
* Standard property: servlet request object.
* <p>Type: javax.servlet.http.HttpServletRequest
*/
public static final String SERVLET_REQUEST =
"javax.xml.ws.servlet.request";
"jakarta.xml.ws.servlet.request";

/**
* Standard property: servlet response object.
* <p>Type: javax.servlet.http.HttpServletResponse
*/
public static final String SERVLET_RESPONSE =
"javax.xml.ws.servlet.response";
"jakarta.xml.ws.servlet.response";

/**
* Standard property: servlet context object.
* <p>Type: javax.servlet.ServletContext
*/
public static final String SERVLET_CONTEXT =
"javax.xml.ws.servlet.context";
"jakarta.xml.ws.servlet.context";

/**
* Standard property: Query string for request.
* <p>Type: String
**/
public static final String QUERY_STRING =
"javax.xml.ws.http.request.querystring";
"jakarta.xml.ws.http.request.querystring";

/**
* Standard property: Request Path Info
* <p>Type: String
*/
public static final String PATH_INFO =
"javax.xml.ws.http.request.pathinfo";
"jakarta.xml.ws.http.request.pathinfo";

/**
* Standard property: WS Addressing Reference Parameters.
Expand All @@ -156,7 +156,7 @@ public interface MessageContext extends Map<String, Object> {
* @since 1.6, JAX-WS 2.1
*/
public static final String REFERENCE_PARAMETERS =
"javax.xml.ws.reference.parameters";
"jakarta.xml.ws.reference.parameters";

/**
* Property scope. Properties scoped as {@code APPLICATION} are
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* with any other binding is undefined.
* <p>
* This feature can be used during the creation of SEI proxy, and
* {@link javax.xml.ws.Dispatch} instances on the client side and {@link Endpoint}
* {@link jakarta.xml.ws.Dispatch} instances on the client side and {@link Endpoint}
* instances on the server side. This feature cannot be used for {@link Service}
* instance creation on the client side.
* <p>
Expand Down
2 changes: 1 addition & 1 deletion api/src/main/java/jakarta/xml/ws/spi/FactoryFinder.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

class FactoryFinder {

private static final Logger logger = Logger.getLogger("javax.xml.ws");
private static final Logger logger = Logger.getLogger("jakarta.xml.ws");

private static final ServiceLoaderUtil.ExceptionHandler<WebServiceException> EXCEPTION_HANDLER =
new ServiceLoaderUtil.ExceptionHandler<WebServiceException>() {
Expand Down

0 comments on commit e601439

Please sign in to comment.