protected void realCheckPermission(MethodType methodType, InvocationType invocationType) { checkTransactionSync(methodType); if (invocationType != null) { if (denied.contains(new DeniedMethodKey(invocationType, methodType))) { throwException(methodType, invocationType); } } if (invocationType != InvocationType.CONCURRENT_CONTEXT && !beanManagedTransaction && methodType == MethodType.GET_USER_TRANSACTION) { throw EjbLogger.ROOT_LOGGER.unauthorizedAccessToUserTransaction(); } }
protected void realCheckPermission(MethodType methodType, InvocationType invocationType) { checkTransactionSync(methodType); if (invocationType != null) { if (denied.contains(new DeniedMethodKey(invocationType, methodType))) { throwException(methodType, invocationType); } } }