Tabnine Logo
SFSBCallStack.beginSfsbCreation
Code IndexAdd Tabnine to your IDE (free)

How to use
beginSfsbCreation
method
in
org.jboss.as.jpa.container.SFSBCallStack

Best Java code snippets using org.jboss.as.jpa.container.SFSBCallStack.beginSfsbCreation (Showing top 2 results out of 315)

origin: org.wildfly/wildfly-jpa

@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();
  }
}
origin: org.jboss.eap/wildfly-jpa

@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();
  }
}
org.jboss.as.jpa.containerSFSBCallStackbeginSfsbCreation

Javadoc

called from SFSBPreCreateInterceptor, before bean creation

Popular methods of SFSBCallStack

  • currentSFSBCallStack
    Return the current entity manager call stack
  • currentSFSBCallStackInvocation
    return for just the current entity manager invocation
  • endSfsbCreation
    called from SFSBPreCreateInterceptor, after bean creation
  • getCurrentCall
    gets the current SFSB invocation off the invocation call stack
  • getSFSBCreationBeanNestingLevel
  • getSFSBCreationTimeInjectedXPCs
  • popCall
    Pops the current SFSB invocation off the invocation call stack
  • pushCall
    Push the passed SFSB context handle onto the invocation call stack

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • runOnUiThread (Activity)
  • compareTo (BigDecimal)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • JTable (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Table (org.hibernate.mapping)
    A relational table
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now