public enum Propagation extends Enum<Propagation>
| Enum Constant and Description |
|---|
REQUIRED
Supports a current transaction, creates a new one if none exists.
|
| Modifier and Type | Method and Description |
|---|---|
static Propagation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Propagation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Propagation REQUIRED
public static Propagation[] values()
for (Propagation c : Propagation.values()) System.out.println(c);
public static Propagation 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 nullCopyright © 2009–2019 B3log. All rights reserved.