@AroundInvoke public Object aroundInvoke(InvocationContext invocation) throws Exception { try { return invocation.proceed(); } catch (Exception e) { if ( isRollbackRequired(e, getComponent().getType() == JAVA_BEAN) ) { try { Transaction.instance().setRollbackOnly(); } catch (Exception te) {} //swallow } throw e; } }