com.sun.xml.ws.tx.at.policy
Enum EjbTransactionType
java.lang.Object
java.lang.Enum<EjbTransactionType>
com.sun.xml.ws.tx.at.policy.EjbTransactionType
- All Implemented Interfaces:
- Serializable, Comparable<EjbTransactionType>
public enum EjbTransactionType
- extends Enum<EjbTransactionType>
NOT_SUPPORTED
public static final EjbTransactionType NOT_SUPPORTED
NEVER
public static final EjbTransactionType NEVER
MANDATORY
public static final EjbTransactionType MANDATORY
SUPPORTS
public static final EjbTransactionType SUPPORTS
REQUIRES_NEW
public static final EjbTransactionType REQUIRES_NEW
REQUIRED
public static final EjbTransactionType REQUIRED
NOT_DEFINED
public static final EjbTransactionType NOT_DEFINED
values
public static EjbTransactionType[] 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 (EjbTransactionType c : EjbTransactionType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EjbTransactionType 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
getDefaultFor
public static EjbTransactionType getDefaultFor(Class<?> seiClass)
getEffectiveType
public EjbTransactionType getEffectiveType(Method method)
isContainerManagedEJB
public static boolean isContainerManagedEJB(Class c)
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.