@Override public void setup(final Map<String, Object> properties) { NonTxEmCloser.pushCall(); // create a thread local place to hold created transactional entity managers }
@Override public void setup(final Map<String, Object> properties) { NonTxEmCloser.pushCall(); // create a thread local place to hold created transactional entity managers }
@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(); } }