Esempio n. 1
0
 public UserTransaction getUserTransaction() throws IllegalStateException {
   return utilities.getUserTransaction();
 }
Esempio n. 2
0
 public UserTransaction getUserTransaction() throws IllegalStateException {
   if (!isBeanManagedTransaction()) throw MESSAGES.failToCallIsBeanManagedTransaction();
   return utilities.getUserTransaction();
 }
Esempio n. 3
0
 public UserTransaction getUserTransaction() throws IllegalStateException {
   if (!isBeanManagedTransaction())
     throw new IllegalStateException(
         "EJB 3.1 FR 4.3.3 & 5.4.5 Only beans with bean-managed transaction demarcation can use this method.");
   return utilities.getUserTransaction();
 }