org.jboss.seam.faces.transaction
Enum SeamManagedTransactionType
java.lang.Object
java.lang.Enum<SeamManagedTransactionType>
org.jboss.seam.faces.transaction.SeamManagedTransactionType
- All Implemented Interfaces:
- Serializable, Comparable<SeamManagedTransactionType>
public enum SeamManagedTransactionType
- extends Enum<SeamManagedTransactionType>
- Author:
- Stuart Douglas
ENABLED
public static final SeamManagedTransactionType ENABLED
DISABLED
public static final SeamManagedTransactionType DISABLED
RENDER_RESPONSE
public static final SeamManagedTransactionType RENDER_RESPONSE
- Transactions are only enabled during the RENDER_RESPONSE phase
values
public static SeamManagedTransactionType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SeamManagedTransactionType c : SeamManagedTransactionType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SeamManagedTransactionType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2011 Seam Framework. All Rights Reserved.