@AroundInvoke
public Object transactional(InvocationContext ctx) throws Exception {
Logger logger = Logger.getLogger(ctx.getTarget().getClass().getName());
logger.info("In MANDATORY TransactionalInterceptor");
if(getTransactionManager().getTransaction() == null)
throw new TransactionalException(
"TransactionRequiredException thrown from TxType.MANDATORY transactional interceptor.",
new TransactionRequiredException("Managed bean with Transactional annotation and TxType of " +
"MANDATORY called outside of a transaction context"));
return proceed(ctx);
}