public enum MethodType extends Enum<MethodType>
AllowedMethodsInformation
Enum Constant and Description |
---|
GET_CALLER_PRINCIPLE |
GET_EJB_LOCAL_OBJECT |
GET_EJB_OBJECT |
GET_PRIMARY_KEY |
GET_ROLLBACK_ONLY |
GET_TIMER_SERVICE |
GET_USER_TRANSACTION |
IS_CALLER_IN_ROLE |
SET_ROLLBACK_ONLY |
TIMER_SERVICE_METHOD |
Modifier and Type | Method and Description |
---|---|
String |
getLabel() |
static MethodType |
valueOf(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.
|
public static final MethodType TIMER_SERVICE_METHOD
public static final MethodType GET_EJB_LOCAL_OBJECT
public static final MethodType GET_EJB_OBJECT
public static final MethodType GET_ROLLBACK_ONLY
public static final MethodType SET_ROLLBACK_ONLY
public static final MethodType GET_PRIMARY_KEY
public static final MethodType GET_TIMER_SERVICE
public static final MethodType IS_CALLER_IN_ROLE
public static final MethodType GET_CALLER_PRINCIPLE
public static final MethodType GET_USER_TRANSACTION
public static MethodType[] values()
for (MethodType c : MethodType.values()) System.out.println(c);
public static MethodType 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 String getLabel()
Copyright © 2014 JBoss by Red Hat. All rights reserved.