@Documented
@Inherited
@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
public @interface Transactional
com.liferay.portal.spring.aop.AopInvocationHandler
.
Modifier and Type | Optional Element and Description |
---|---|
boolean |
enabled
Whether a transaction is needed.
|
Isolation |
isolation
Returns the
Isolation setting. |
Class<? extends Throwable>[] |
noRollbackFor
Returns exception classes that should not cause the transaction to be
rolled back.
|
String[] |
noRollbackForClassName
Returns exception names that should not cause the transaction to be
rolled back.
|
Propagation |
propagation
Returns the
Propagation setting. |
boolean |
readOnly
Whether the the transaction is effectively read-only, allowing for
optimizations at run time.
|
Class<? extends Throwable>[] |
rollbackFor
Returns exception classes that cause the transaction to be rolled back.
|
String[] |
rollbackForClassName
Returns exception names that cause the transaction to be rolled back.
|
int |
timeout
Returns the transaction's timeout in seconds.
|
public abstract boolean enabled
public abstract Class<? extends Throwable>[] noRollbackFor
public abstract String[] noRollbackForClassName
public abstract Propagation propagation
Propagation
setting.public abstract boolean readOnly
public abstract Class<? extends Throwable>[] rollbackFor