Package 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>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MANDATORYNEVERNOT_DEFINEDNOT_SUPPORTEDREQUIREDREQUIRES_NEWSUPPORTS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EjbTransactionTypegetDefaultFor(Class<?> seiClass)EjbTransactionTypegetEffectiveType(Method method)static booleanisContainerManagedEJB(Class c)static EjbTransactionTypevalueOf(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.
-
-
-
Enum Constant Detail
-
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
-
-
Method Detail
-
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 nameNullPointerException- 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)
-
-