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 by AllowedMethodsInformation
Author:
Stuart Douglas
  • Enum Constant Details

    • 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 Details

    • values

      public static MethodType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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 name
      NullPointerException - if the argument is null
    • getLabel

      public String getLabel()