@Override public Object processInvocation(InterceptorContext interceptorContext) throws Exception { try { // beginSfsbCreation() will setup a "creation time" thread local store for tracking references to extended // persistence contexts. SFSBCallStack.beginSfsbCreation(); return interceptorContext.proceed(); } finally { // bean PostCreate event lifecycle has already completed. // endSfsbCreation() will clear the thread local knowledge of "creation time" referenced extended // persistence contexts. SFSBCallStack.endSfsbCreation(); } }
@Override public Object processInvocation(InterceptorContext interceptorContext) throws Exception { try { // beginSfsbCreation() will setup a "creation time" thread local store for tracking references to extended // persistence contexts. SFSBCallStack.beginSfsbCreation(); return interceptorContext.proceed(); } finally { // bean PostCreate event lifecycle has already completed. // endSfsbCreation() will clear the thread local knowledge of "creation time" referenced extended // persistence contexts. SFSBCallStack.endSfsbCreation(); } }