org.jboss.seam.annotations
public enum TransactionPropagationType extends Enum<TransactionPropagationType>
Enum Constant and Description |
---|
MANDATORY |
NEVER |
REQUIRED |
SUPPORTS |
Modifier and Type | Method and Description |
---|---|
boolean |
isNewTransactionRequired(boolean transactionActive) |
static TransactionPropagationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionPropagationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionPropagationType REQUIRED
public static final TransactionPropagationType MANDATORY
public static final TransactionPropagationType SUPPORTS
public static final TransactionPropagationType NEVER
public static TransactionPropagationType[] values()
for (TransactionPropagationType c : TransactionPropagationType.values()) System.out.println(c);
public static TransactionPropagationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic boolean isNewTransactionRequired(boolean transactionActive)
Copyright © 2015 Seam Framework. All Rights Reserved.