Class ActionNonTxAware<R,A,E extends Exception>
- java.lang.Object
-
- org.exoplatform.services.transaction.ActionNonTxAware<R,A,E>
-
public abstract class ActionNonTxAware<R,A,E extends Exception> extends Object
This class describes all the actions that are not supposed to be called within a transaction- Version:
- $Id$
- Author:
- Nicolas Filotto
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.exoplatform.services.log.LogLOGThe logger
-
Constructor Summary
Constructors Constructor Description ActionNonTxAware()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected Rexecute(A arg)Executes the actionprotected Rexecute(A... arg)Executes the actionprotected abstract TransactionManagergetTransactionManager()Gives the Transaction Manager that will be used while executing the actionRrun()Executes the action outside the context of the current tx.Rrun(A... arg)Executes the action outside the context of the current tx
-
-
-
Method Detail
-
run
public R run(A... arg) throws E extends Exception
Executes the action outside the context of the current tx
-
run
public R run() throws E extends Exception
Executes the action outside the context of the current tx. This method is equivalent torun(Object[])} but with null as parameter.
-
getTransactionManager
protected abstract TransactionManager getTransactionManager()
Gives the Transaction Manager that will be used while executing the action- Returns:
- the
TransactionManagerto use
-
-