Enum MethodType

    • 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 name
        NullPointerException - if the argument is null
      • getLabel

        public String getLabel()