Skip to content

Commit

Permalink
javax.interceptor to jakarta.interceptor
Browse files Browse the repository at this point in the history
Signed-off-by: alwin.joseph <alwin.joseph@oracle.com>
  • Loading branch information
alwin-joseph authored and scottmarlow committed Apr 14, 2020
1 parent b6f56f1 commit 986c9e1
Show file tree
Hide file tree
Showing 250 changed files with 522 additions and 522 deletions.
2 changes: 1 addition & 1 deletion install/jakartaee/bin/sig-test-pkg-list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ javax.faces.view
javax.faces.view.facelets
javax.faces.webapp
javax.inject
javax.interceptor
jakarta.interceptor
javax.jms
javax.json
javax.json.spi
Expand Down
2 changes: 1 addition & 1 deletion install/jakartaee/bin/sig-test-pkg-list_se9.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ javax.faces.view
javax.faces.view.facelets
javax.faces.webapp
javax.inject
javax.interceptor
jakarta.interceptor
javax.jms
javax.json
javax.json.bind
Expand Down
16 changes: 8 additions & 8 deletions internal/docs/ejb/EJBJavaDocAssertions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2663,7 +2663,7 @@
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>254</id>
<description/>
<package>javax.interceptor</package>
<package>jakarta.interceptor</package>
<class-interface>Interceptors</class-interface>
<method name="value" return-type="java.lang.Class[]"/>
</assertion>
Expand All @@ -2673,7 +2673,7 @@
Returns the context data associated with this invocation or lifecycle callback.
If there is no context data, an empty Map object will be returned.
</description>
<package>javax.interceptor</package>
<package>jakarta.interceptor</package>
<class-interface>InvocationContext</class-interface>
<method name="getContextData" return-type="java.util.Map"/>
</assertion>
Expand All @@ -2683,7 +2683,7 @@
Returns the method of the bean class for which the interceptor was invoked.
For AroundInvoke methods, this is the business method on the bean class. For lifecycle callback methods, returns null.
</description>
<package>javax.interceptor</package>
<package>jakarta.interceptor</package>
<class-interface>InvocationContext</class-interface>
<method name="getMethod" return-type="java.lang.reflect.Method"/>
</assertion>
Expand All @@ -2693,7 +2693,7 @@
Returns the parameters that will be used to invoke the business method.
If setParameters has been called, getParameters() returns the values to which the parameters have been set.
</description>
<package>javax.interceptor</package>
<package>jakarta.interceptor</package>
<class-interface>InvocationContext</class-interface>
<method name="getParameters" return-type="java.lang.Object[]"/>
</assertion>
Expand All @@ -2702,7 +2702,7 @@
<description>
Returns the target instance.
</description>
<package>javax.interceptor</package>
<package>jakarta.interceptor</package>
<class-interface>InvocationContext</class-interface>
<method name="getTarget" return-type="java.lang.Object"/>
</assertion>
Expand All @@ -2712,14 +2712,14 @@
Proceed to the next entry in the interceptor chain.
The proceed method returns the result of the next method invoked. If the method returns void, proceed returns null.
</description>
<package>javax.interceptor</package>
<package>jakarta.interceptor</package>
<class-interface>InvocationContext</class-interface>
<method name="proceed" return-type="java.lang.Object"/>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>260</id>
<description/>
<package>javax.interceptor</package>
<package>jakarta.interceptor</package>
<class-interface>InvocationContext</class-interface>
<method name="proceed" return-type="java.lang.Object">
<throw>java.lang.Exception</throw>
Expand All @@ -2730,7 +2730,7 @@
<description>
Sets the parameters that will be used to invoke the business method.
</description>
<package>javax.interceptor</package>
<package>jakarta.interceptor</package>
<class-interface>InvocationContext</class-interface>
<method name="setParameters" return-type="void">
<parameters>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import com.sun.ts.tests.ejb30.common.helloejbjar.HelloRemoteIF;
import jakarta.ejb.EJB;
import jakarta.ejb.Stateless;
import javax.interceptor.Interceptors;
import jakarta.interceptor.Interceptors;

@Stateless
@Interceptors({ AssemblyInterceptor.class })
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2007, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand All @@ -23,8 +23,8 @@
import com.sun.ts.tests.ejb30.common.helper.TLogger;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.interceptor.AroundInvoke;
import javax.interceptor.InvocationContext;
import jakarta.interceptor.AroundInvoke;
import jakarta.interceptor.InvocationContext;

public class AssemblyInterceptor {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import com.sun.ts.tests.ejb30.misc.getresource.common.GetResourceTest;
import jakarta.ejb.EJB;
import jakarta.ejb.Stateless;
import javax.interceptor.Interceptors;
import jakarta.interceptor.Interceptors;

@Stateless
@Interceptors({ AssemblyInterceptor.class })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import com.sun.ts.tests.ejb30.assembly.common.AssemblyRemoteIF;
import jakarta.ejb.EJBException;
import jakarta.ejb.Stateless;
import javax.interceptor.Interceptors;
import jakarta.interceptor.Interceptors;

/**
* This bean is packaged into lib/shared.jar, but this library-directory is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import jakarta.ejb.MessageDriven;
import jakarta.ejb.ActivationConfigProperty;
import javax.jms.MessageListener;
import javax.interceptor.Interceptors;
import jakarta.interceptor.Interceptors;
import javax.jms.Queue;
import javax.jms.QueueConnectionFactory;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2007, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand All @@ -23,8 +23,8 @@
import com.sun.ts.tests.ejb30.common.helper.TLogger;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.interceptor.InvocationContext;
import javax.interceptor.AroundInvoke;
import jakarta.interceptor.InvocationContext;
import jakarta.interceptor.AroundInvoke;

/**
* A callback listerner for mdb beans. Callback methods may throw
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import jakarta.ejb.MessageDriven;
import jakarta.ejb.ActivationConfigProperty;
import javax.jms.MessageListener;
import javax.interceptor.Interceptors;
import jakarta.interceptor.Interceptors;
import javax.jms.Queue;
import javax.jms.QueueConnectionFactory;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2007, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand All @@ -21,7 +21,7 @@
package com.sun.ts.tests.ejb30.bb.mdb.callback.listener.descriptor;

import com.sun.ts.tests.ejb30.common.helper.TLogger;
import javax.interceptor.InvocationContext;
import jakarta.interceptor.InvocationContext;

/**
* A callback listerner for mdb beans. Callback methods may throw
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import com.sun.ts.tests.common.connector.util.TSMessageListenerInterface;
import jakarta.ejb.MessageDriven;
import jakarta.ejb.ActivationConfigProperty;
import javax.interceptor.Interceptors;
import jakarta.interceptor.Interceptors;
import javax.jms.Queue;
import javax.jms.QueueConnectionFactory;
import jakarta.ejb.TransactionAttribute;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.interceptor.Interceptors;
import jakarta.interceptor.Interceptors;
import javax.annotation.Resource;
import javax.interceptor.AroundInvoke;
import javax.interceptor.InvocationContext;
import jakarta.interceptor.AroundInvoke;
import jakarta.interceptor.InvocationContext;
import com.sun.ts.tests.ejb30.common.interceptor.AroundInvokeBase;
import com.sun.ts.tests.ejb30.common.interceptor.AroundInvokeTestMDBImpl;
import jakarta.ejb.MessageDrivenContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.interceptor.Interceptors;
import jakarta.interceptor.Interceptors;
import javax.annotation.Resource;
import javax.interceptor.AroundInvoke;
import javax.interceptor.InvocationContext;
import jakarta.interceptor.AroundInvoke;
import jakarta.interceptor.InvocationContext;
import com.sun.ts.tests.ejb30.common.interceptor.AroundInvokeBase;
import com.sun.ts.tests.ejb30.common.interceptor.AroundInvokeTestMDBImpl;
import jakarta.ejb.MessageDrivenContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.annotation.Resource;
import javax.interceptor.AroundInvoke;
import javax.interceptor.InvocationContext;
import jakarta.interceptor.AroundInvoke;
import jakarta.interceptor.InvocationContext;
import com.sun.ts.tests.ejb30.common.interceptor.AroundInvokeBase;
import com.sun.ts.tests.ejb30.common.interceptor.AroundInvokeTestMDBImpl;
import jakarta.ejb.MessageDrivenContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.annotation.Resource;
import javax.interceptor.AroundInvoke;
import javax.interceptor.InvocationContext;
import jakarta.interceptor.AroundInvoke;
import jakarta.interceptor.InvocationContext;
import com.sun.ts.tests.ejb30.common.interceptor.AroundInvokeBase;
import com.sun.ts.tests.ejb30.common.interceptor.AroundInvokeTestMDBImpl;
import jakarta.ejb.MessageDrivenContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
import com.sun.ts.tests.ejb30.common.helper.TLogger;
import com.sun.ts.tests.ejb30.common.helper.TestFailedException;
import java.util.Properties;
import javax.interceptor.AroundInvoke;
import jakarta.interceptor.AroundInvoke;
import javax.annotation.Resource;
import jakarta.ejb.EJB;
import javax.interceptor.Interceptors;
import javax.interceptor.InvocationContext;
import jakarta.interceptor.Interceptors;
import jakarta.interceptor.InvocationContext;
import jakarta.ejb.Local;
import jakarta.ejb.Remote;
import jakarta.ejb.Remove;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import java.util.Properties;
import javax.annotation.Resource;
import jakarta.ejb.EJB;
import javax.interceptor.Interceptors;
import jakarta.interceptor.Interceptors;
import jakarta.ejb.Local;
import javax.annotation.PostConstruct;
import jakarta.ejb.Remote;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import java.util.Properties;
import javax.annotation.Resource;
import jakarta.ejb.EJB;
import javax.interceptor.Interceptors;
import jakarta.interceptor.Interceptors;
import jakarta.ejb.Local;
import jakarta.ejb.Remote;
import jakarta.ejb.Remove;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import jakarta.ejb.SessionContext;
import jakarta.ejb.Stateful;
import javax.annotation.Resource;
import javax.interceptor.Interceptors;
import jakarta.interceptor.Interceptors;
import jakarta.ejb.Remove;

import com.sun.ts.tests.ejb30.common.callback.Callback2IF;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import jakarta.ejb.SessionContext;
import jakarta.ejb.Stateful;
import javax.annotation.Resource;
import javax.interceptor.Interceptors;
import jakarta.interceptor.Interceptors;
import jakarta.ejb.Remove;
//@todo
//import jakarta.ejb.Init;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
import com.sun.ts.tests.ejb30.common.helper.TLogger;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.interceptor.AroundInvoke;
import javax.interceptor.InvocationContext;
import jakarta.interceptor.AroundInvoke;
import jakarta.interceptor.InvocationContext;
import jakarta.ejb.PostActivate;
import jakarta.ejb.PrePassivate;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
import com.sun.ts.tests.ejb30.common.helper.TLogger;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.interceptor.AroundInvoke;
import javax.interceptor.InvocationContext;
import jakarta.interceptor.AroundInvoke;
import jakarta.interceptor.InvocationContext;
import jakarta.ejb.PostActivate;
import jakarta.ejb.PrePassivate;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

import com.sun.ts.tests.ejb30.common.callback.CallbackIF;
import com.sun.ts.tests.ejb30.common.callback.CallbackBeanBase;
import javax.interceptor.Interceptors;
import jakarta.interceptor.Interceptors;

@Stateful(name = "CallbackBean")
@Remote({ CallbackIF.class })
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2007, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand All @@ -21,8 +21,8 @@
package com.sun.ts.tests.ejb30.bb.session.stateful.callback.listener.descriptor;

import com.sun.ts.tests.ejb30.common.helper.TLogger;
import javax.interceptor.AroundInvoke;
import javax.interceptor.InvocationContext;
import jakarta.interceptor.AroundInvoke;
import jakarta.interceptor.InvocationContext;

/**
* A callback listerner for stateful session beans. It uses ejb* for method
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2007, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand All @@ -21,8 +21,8 @@
package com.sun.ts.tests.ejb30.bb.session.stateful.callback.listener.descriptor;

import com.sun.ts.tests.ejb30.common.helper.TLogger;
import javax.interceptor.AroundInvoke;
import javax.interceptor.InvocationContext;
import jakarta.interceptor.AroundInvoke;
import jakarta.interceptor.InvocationContext;

/**
* A callback listerner for stateful session beans. Two callback annotations are
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
import com.sun.ts.tests.ejb30.common.allowed.stateful.StatefulOperations;
import com.sun.ts.tests.ejb30.common.allowed.stateful.TimerLocalIF;
import java.util.Properties;
import javax.interceptor.AroundInvoke;
import jakarta.interceptor.AroundInvoke;
import javax.annotation.Resource;
import jakarta.ejb.EJB;
import javax.interceptor.Interceptors;
import javax.interceptor.InvocationContext;
import jakarta.interceptor.Interceptors;
import jakarta.interceptor.InvocationContext;
import jakarta.ejb.Local;
import jakarta.ejb.Remote;
import jakarta.ejb.Remove;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import java.util.Properties;
import javax.annotation.Resource;
import jakarta.ejb.EJB;
import javax.interceptor.Interceptors;
import jakarta.interceptor.Interceptors;
import jakarta.ejb.Local;
import javax.annotation.PostConstruct;
import jakarta.ejb.Remote;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import java.util.Properties;
import javax.annotation.Resource;
import jakarta.ejb.EJB;
import javax.interceptor.Interceptors;
import jakarta.interceptor.Interceptors;
import jakarta.ejb.Local;
import jakarta.ejb.Remote;
import jakarta.ejb.Remove;
Expand Down
Loading

0 comments on commit 986c9e1

Please sign in to comment.