public enum EjbTransactionType extends Enum<EjbTransactionType>
| Enum Constant and Description |
|---|
MANDATORY |
NEVER |
NOT_DEFINED |
NOT_SUPPORTED |
REQUIRED |
REQUIRES_NEW |
SUPPORTS |
| Modifier and Type | Method and Description |
|---|---|
static EjbTransactionType |
getDefaultFor(Class<?> seiClass) |
EjbTransactionType |
getEffectiveType(Method method) |
static boolean |
isContainerManagedEJB(Class c) |
static EjbTransactionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EjbTransactionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EjbTransactionType NOT_SUPPORTED
public static final EjbTransactionType NEVER
public static final EjbTransactionType MANDATORY
public static final EjbTransactionType SUPPORTS
public static final EjbTransactionType REQUIRES_NEW
public static final EjbTransactionType REQUIRED
public static final EjbTransactionType NOT_DEFINED
public static EjbTransactionType[] values()
for (EjbTransactionType c : EjbTransactionType.values()) System.out.println(c);
public static EjbTransactionType 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 static EjbTransactionType getDefaultFor(Class<?> seiClass)
public EjbTransactionType getEffectiveType(Method method)
public static boolean isContainerManagedEJB(Class c)
Copyright © 2005–2018 Oracle Corporation. All rights reserved.