/** amx-impl has its own TransactionListener which takes over once AMX is loaded. Note that it is synchronized with transactionCommited() [sic] to avoid a race condition. */ public synchronized void swapTransactionListener(final TransactionListener newListener) { //debug( "PendingConfigBeans.swapTransactionListener()" ); transactions.addTransactionsListener(newListener); transactions.removeTransactionsListener(this); }
public void stop() { mTransactions.removeTransactionsListener(this); SingletonEnforcer.deregister(AMXConfigLoader.class, this); }
transactions.removeTransactionsListener(myListener);