이 규칙은 WebLogic 사용을 검색합니다. weblogic.transaction.Transaction 오브젝트를 Java 파일에 추가하십시오. WebSphere Application Server 문서에서 JTA 지원 주제를 검토하십시오.
다음 경우가 발견됩니다.
필드 선언(오브젝트 레벨)
예시:
private Transaction t ;
메소드 변수
예제:
private void doX(){
Transaction t;
}
캐스트 표현식
예시:
Transaction t = (Transaction) someOtherObject;
다음과 같이 규정된 이름으로 사용되는 경우 오브젝트가 감지됩니다. weblogic.transaction.Transaction .
오브젝트는 다음과 같이 단순 이름으로 사용되는 경우에도 감지됩니다.
Transaction
다음 두 개의 import문 중 하나가 존재합니다.
import weblogic.transaction.*;
또는
import weblogic.transaction.Transaction;