@Override public void teardown(final Map<String, Object> properties) { NonTxEmCloser.popCall(); // close any transactional entity managers that were created without a jta transaction. }
@Override public void teardown(final Map<String, Object> properties) { NonTxEmCloser.popCall(); // close any transactional entity managers that were created without a jta transaction. }
@Override public Object processInvocation(InterceptorContext context) throws Exception { NonTxEmCloser.pushCall(); try { return context.proceed(); // call the next interceptor or target } finally { NonTxEmCloser.popCall(); } }
@Override public Object processInvocation(InterceptorContext context) throws Exception { NonTxEmCloser.pushCall(); try { return context.proceed(); // call the next interceptor or target } finally { NonTxEmCloser.popCall(); } }