This rule detects the use of WebLogic weblogic.transaction.Transaction objects in a Java file. Review the JTA support topic in the WebSphere Application Server documentation.
The following cases are detected:
Field Declaration (object level)
Example:
private Transaction t ;
Method Variable
Example:
private void doX(){
Transaction t;
}
Cast Expression
Example:
Transaction t = (Transaction) someOtherObject;
The object is detected if it is used as a qualified name, such as weblogic.transaction.Transaction .
The object is also detected if it is used as a simple name,
such as
Transaction
, and either of the following two import statements exist:
import weblogic.transaction.*;
or
import weblogic.transaction.Transaction;