Exemple #1
0
 public UserTransaction getUserTransaction() throws IllegalStateException {
   return utilities.getUserTransaction();
 }
Exemple #2
0
 public UserTransaction getUserTransaction() throws IllegalStateException {
   if (!isBeanManagedTransaction()) throw MESSAGES.failToCallIsBeanManagedTransaction();
   return utilities.getUserTransaction();
 }
 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();
 }