Class AllowedMethodsInformation

    • Constructor Detail

      • AllowedMethodsInformation

        protected AllowedMethodsInformation​(boolean beanManagedTransaction)
    • Method Detail

      • checkAllowed

        public static void checkAllowed​(MethodType methodType)
        Checks that the current method
      • throwException

        protected void throwException​(MethodType methodType,
                                      InvocationType invocationType)
        throw an exception when a method cannot be invoked
        Parameters:
        methodType - the method
        invocationType - the type of invocation that caused it to be disabled
      • throwException

        protected void throwException​(MethodType methodType,
                                      CurrentSynchronizationCallback.CallbackType callback)
        throw an exception when a method cannot be invoked
        Parameters:
        methodType - the method
        callback - the type of invocation that caused it to be disabled