/** * Fire the user transaction started event */ void userTransactionStarted() { assert registry != null : "registry is null"; registry.userTransactionStarted(); } }
/** * Fire the user transaction started event */ void userTransactionStarted() { UserTransactionRegistry registry = this.registry; if (registry != null) registry.userTransactionStarted(); } }
/** * Fire a user transaction started event */ public void userTransactionStarted() { delegator.userTransactionStarted(); } }
public void begin() throws NotSupportedException, SystemException { tm.begin(); UserTransactionRegistry registry = this.registry; if (registry != null) registry.userTransactionStarted(); try { for (UserTransactionStartedListener listener : listeners) listener.userTransactionStarted(); } catch (SystemException e) { rollback(); } }
public void begin() throws NotSupportedException, SystemException { testAvailability(); tm.begin(); UserTransactionRegistry registry = this.registry; if (registry != null) registry.userTransactionStarted(); try { for (UserTransactionStartedListener listener : listeners) listener.userTransactionStarted(); } catch (SystemException e) { rollback(); } }