Skip to content

Commit

Permalink
Rename packages from javax to jakarta
Browse files Browse the repository at this point in the history
Signed-off-by: tvallin <thibault.vallin@oracle.com>
  • Loading branch information
tvallin authored and lukasj committed Feb 3, 2020
1 parent 7405939 commit 1e08196
Show file tree
Hide file tree
Showing 75 changed files with 355 additions and 352 deletions.
6 changes: 3 additions & 3 deletions api/exclude.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Copyright (c) 2013, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2013, 2020 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -17,7 +17,7 @@
-->
<Match>
<Or>
<Class name="javax.xml.ws.spi.http.HttpContext"/>
<Class name="jakarta.xml.ws.spi.http.HttpContext"/>
</Or>
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"/>
</Match>
Expand All @@ -26,7 +26,7 @@
Exceptions caught by intention; nothing unexpected and unwanted can happen
-->
<Match>
<Class name="javax.xml.ws.spi.FactoryFinder"/>
<Class name="jakarta.xml.ws.spi.FactoryFinder"/>
<Bug pattern="REC_CATCH_EXCEPTION"/>
</Match>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package javax.xml.ws;
package jakarta.xml.ws;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package javax.xml.ws;
package jakarta.xml.ws;

/** The {@code AsyncHandler} interface is implemented by
* clients that wish to receive callback notification of the completion of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package javax.xml.ws;
package jakarta.xml.ws;


/** The {@code Binding} interface is the base interface
Expand All @@ -25,7 +25,7 @@ public interface Binding {
*
* @return {@code java.util.List<Handler>} Handler chain
*/
public java.util.List<javax.xml.ws.handler.Handler> getHandlerChain();
public java.util.List<jakarta.xml.ws.handler.Handler> getHandlerChain();

/**
* Sets the handler chain for the protocol binding instance.
Expand All @@ -38,7 +38,7 @@ public interface Binding {
* avoid any overriding of a pre-configured handler
* chain.
*/
public void setHandlerChain(java.util.List<javax.xml.ws.handler.Handler> chain);
public void setHandlerChain(java.util.List<jakarta.xml.ws.handler.Handler> chain);

/**
* Get the URI for this binding instance.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,10 +8,10 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package javax.xml.ws;
package jakarta.xml.ws;

import java.util.Map;
import javax.xml.ws.wsaddressing.W3CEndpointReference;
import jakarta.xml.ws.wsaddressing.W3CEndpointReference;

/**
* The {@code BindingProvider} interface provides access to the
Expand All @@ -20,22 +20,22 @@
*
* @since 1.6, JAX-WS 2.0
*
* @see javax.xml.ws.Binding
* @see jakarta.xml.ws.Binding
**/
public interface BindingProvider {
/**
* Standard property: User name for authentication.
* <p>Type: {@code java.lang.String}
**/
public static final String USERNAME_PROPERTY =
"javax.xml.ws.security.auth.username";
"jakarta.xml.ws.security.auth.username";

/**
* Standard property: Password for authentication.
* <p>Type: {@code java.lang.String}
**/
public static final String PASSWORD_PROPERTY =
"javax.xml.ws.security.auth.password";
"jakarta.xml.ws.security.auth.password";

/**
* Standard property: Target service endpoint address. The
Expand All @@ -45,7 +45,7 @@ public interface BindingProvider {
* <p>Type: {@code java.lang.String}
**/
public static final String ENDPOINT_ADDRESS_PROPERTY =
"javax.xml.ws.service.endpoint.address";
"jakarta.xml.ws.service.endpoint.address";

/**
* Standard property: This boolean property is used by a service
Expand All @@ -57,7 +57,7 @@ public interface BindingProvider {
* <p>Type: {@code java.lang.Boolean}
**/
public static final String SESSION_MAINTAIN_PROPERTY =
"javax.xml.ws.session.maintain";
"jakarta.xml.ws.session.maintain";

/**
* Standard property for SOAPAction. This boolean property
Expand All @@ -74,7 +74,7 @@ public interface BindingProvider {
* <p>Type: {@code java.lang.Boolean}
**/
public static final String SOAPACTION_USE_PROPERTY =
"javax.xml.ws.soap.http.soapaction.use";
"jakarta.xml.ws.soap.http.soapaction.use";

/**
* Standard property for SOAPAction. Indicates the SOAPAction
Expand All @@ -87,7 +87,7 @@ public interface BindingProvider {
* <p>Type: {@code java.lang.String}
**/
public static final String SOAPACTION_URI_PROPERTY =
"javax.xml.ws.soap.http.soapaction.uri";
"jakarta.xml.ws.soap.http.soapaction.uri";

/**
* Get the context that is used to initialize the message context
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,15 +8,15 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package javax.xml.ws;
package jakarta.xml.ws;

import java.lang.annotation.Documented;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import javax.xml.ws.http.HTTPBinding;
import javax.xml.ws.soap.SOAPBinding;
import jakarta.xml.ws.http.HTTPBinding;
import jakarta.xml.ws.soap.SOAPBinding;

/**
* The {@code BindingType} annotation is used to
Expand All @@ -39,10 +39,10 @@
* for the definition of the standard binding identifiers.
*
* @return A binding identifier (a URI)
* @see javax.xml.ws.Binding
* @see javax.xml.ws.soap.SOAPBinding#SOAP11HTTP_BINDING
* @see javax.xml.ws.soap.SOAPBinding#SOAP12HTTP_BINDING
* @see javax.xml.ws.http.HTTPBinding#HTTP_BINDING
* @see jakarta.xml.ws.Binding
* @see jakarta.xml.ws.soap.SOAPBinding#SOAP11HTTP_BINDING
* @see jakarta.xml.ws.soap.SOAPBinding#SOAP12HTTP_BINDING
* @see jakarta.xml.ws.http.HTTPBinding#HTTP_BINDING
*/
String value() default "" ;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,14 +8,14 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package javax.xml.ws;
package jakarta.xml.ws;

import java.util.concurrent.Future;


/** The {@code Dispatch} interface provides support
* for the dynamic invocation of a service endpoint operations. The
* {@code javax.xml.ws.Service}
* {@code jakarta.xml.ws.Service}
* class acts as a factory for the creation of {@code Dispatch}
* instances.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,13 +8,13 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package javax.xml.ws;
package jakarta.xml.ws;

import java.util.List;
import java.util.Map;
import javax.xml.ws.spi.Provider;
import javax.xml.ws.spi.http.HttpContext;
import javax.xml.ws.wsaddressing.W3CEndpointReference;
import jakarta.xml.ws.spi.Provider;
import jakarta.xml.ws.spi.http.HttpContext;
import jakarta.xml.ws.wsaddressing.W3CEndpointReference;
import org.w3c.dom.Element;


Expand Down Expand Up @@ -48,9 +48,9 @@
*
* @since 1.6, JAX-WS 2.0
*
* @see javax.xml.ws.Binding
* @see javax.xml.ws.BindingType
* @see javax.xml.ws.soap.SOAPBinding
* @see jakarta.xml.ws.Binding
* @see jakarta.xml.ws.BindingType
* @see jakarta.xml.ws.soap.SOAPBinding
* @see java.util.concurrent.Executor
*
**/
Expand All @@ -72,8 +72,8 @@ public abstract class Endpoint {
* a default of SOAP 1.1 / HTTP binding MUST be used.
* <p>
* The newly created endpoint may be published by calling
* one of the {@link javax.xml.ws.Endpoint#publish(String)} and
* {@link javax.xml.ws.Endpoint#publish(Object)} methods.
* one of the {@link jakarta.xml.ws.Endpoint#publish(String)} and
* {@link jakarta.xml.ws.Endpoint#publish(Object)} methods.
*
*
* @param implementor The endpoint implementor.
Expand All @@ -92,8 +92,8 @@ public static Endpoint create(Object implementor) {
* binding MUST be used.
* <p>
* The newly created endpoint may be published by calling
* one of the {@link javax.xml.ws.Endpoint#publish(String)} and
* {@link javax.xml.ws.Endpoint#publish(Object)} methods.
* one of the {@link jakarta.xml.ws.Endpoint#publish(String)} and
* {@link jakarta.xml.ws.Endpoint#publish(Object)} methods.
*
*
* @param implementor The endpoint implementor.
Expand All @@ -115,8 +115,8 @@ public static Endpoint create(Object implementor, WebServiceFeature ... features
* implementor object.
* <p>
* The newly created endpoint may be published by calling
* one of the {@link javax.xml.ws.Endpoint#publish(String)} and
* {@link javax.xml.ws.Endpoint#publish(Object)} methods.
* one of the {@link jakarta.xml.ws.Endpoint#publish(String)} and
* {@link jakarta.xml.ws.Endpoint#publish(Object)} methods.
*
* @param bindingId A URI specifying the binding to use. If the bindingID is
* {@code null} and no binding is specified via a BindingType
Expand All @@ -136,8 +136,8 @@ public static Endpoint create(String bindingId, Object implementor) {
* implementor object, and web service features.
* <p>
* The newly created endpoint may be published by calling
* one of the {@link javax.xml.ws.Endpoint#publish(String)} and
* {@link javax.xml.ws.Endpoint#publish(Object)} methods.
* one of the {@link jakarta.xml.ws.Endpoint#publish(String)} and
* {@link jakarta.xml.ws.Endpoint#publish(Object)} methods.
*
* @param bindingId A URI specifying the binding to use. If the bindingID is
* {@code null} and no binding is specified via a BindingType
Expand Down Expand Up @@ -175,7 +175,7 @@ public static Endpoint create(String bindingId, Object implementor, WebServiceFe
* The necessary server infrastructure will be created and
* configured by the JAX-WS implementation using some default configuration.
* In order to get more control over the server configuration, please
* use the {@link javax.xml.ws.Endpoint#publish(Object)} method instead.
* use the {@link jakarta.xml.ws.Endpoint#publish(Object)} method instead.
*
* @param address A URI specifying the address to use. The address
* MUST be compatible with the binding specified at the
Expand Down Expand Up @@ -203,8 +203,8 @@ public static Endpoint create(String bindingId, Object implementor, WebServiceFe
* configured by the JAX-WS implementation using some default configuration.
*
* In order to get more control over the server configuration, please
* use the {@link javax.xml.ws.Endpoint#create(String,Object)} and
* {@link javax.xml.ws.Endpoint#publish(Object)} methods instead.
* use the {@link jakarta.xml.ws.Endpoint#create(String,Object)} and
* {@link jakarta.xml.ws.Endpoint#publish(Object)} methods instead.
*
* @param address A URI specifying the address and transport/protocol
* to use. A http: URI MUST result in the SOAP 1.1/HTTP
Expand Down Expand Up @@ -233,8 +233,8 @@ public static Endpoint publish(String address, Object implementor) {
* configured by the JAX-WS implementation using some default configuration.
*
* In order to get more control over the server configuration, please
* use the {@link javax.xml.ws.Endpoint#create(String,Object)} and
* {@link javax.xml.ws.Endpoint#publish(Object)} methods instead.
* use the {@link jakarta.xml.ws.Endpoint#create(String,Object)} and
* {@link jakarta.xml.ws.Endpoint#publish(Object)} methods instead.
*
* @param address A URI specifying the address and transport/protocol
* to use. A http: URI MUST result in the SOAP 1.1/HTTP
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package javax.xml.ws;
package jakarta.xml.ws;

import java.util.Set;

Expand Down

0 comments on commit 1e08196

Please sign in to comment.