Enum MethodType
- java.lang.Object
-
- java.lang.Enum<MethodType>
-
- org.jboss.as.ejb3.component.allowedmethods.MethodType
-
- All Implemented Interfaces:
Serializable,Comparable<MethodType>
public enum MethodType extends Enum<MethodType>
Enum of Jakarta Enterprise Beans methods controlled byAllowedMethodsInformation- Author:
- Stuart Douglas
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GET_CALLER_PRINCIPLEGET_EJB_LOCAL_OBJECTGET_EJB_OBJECTGET_PRIMARY_KEYGET_ROLLBACK_ONLYGET_TIMER_SERVICEGET_USER_TRANSACTIONIS_CALLER_IN_ROLESET_ROLLBACK_ONLYTIMER_SERVICE_METHOD
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabel()static MethodTypevalueOf(String name)Returns the enum constant of this type with the specified name.static MethodType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TIMER_SERVICE_METHOD
public static final MethodType TIMER_SERVICE_METHOD
-
GET_EJB_LOCAL_OBJECT
public static final MethodType GET_EJB_LOCAL_OBJECT
-
GET_EJB_OBJECT
public static final MethodType GET_EJB_OBJECT
-
GET_ROLLBACK_ONLY
public static final MethodType GET_ROLLBACK_ONLY
-
SET_ROLLBACK_ONLY
public static final MethodType SET_ROLLBACK_ONLY
-
GET_PRIMARY_KEY
public static final MethodType GET_PRIMARY_KEY
-
GET_TIMER_SERVICE
public static final MethodType GET_TIMER_SERVICE
-
IS_CALLER_IN_ROLE
public static final MethodType IS_CALLER_IN_ROLE
-
GET_CALLER_PRINCIPLE
public static final MethodType GET_CALLER_PRINCIPLE
-
GET_USER_TRANSACTION
public static final MethodType GET_USER_TRANSACTION
-
-
Method Detail
-
values
public static MethodType[] 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 (MethodType c : MethodType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MethodType 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
-
getLabel
public String getLabel()
-
-