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

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

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

origin: org.wildfly/wildfly-jpa

  @Override
  public void userTransactionStarted() throws SystemException {

    Map<String, ExtendedEntityManager> currentActiveEntityManagers = SFSBCallStack.currentSFSBCallStackInvocation();
    if (currentActiveEntityManagers != null && currentActiveEntityManagers.size() > 0) {
      for (ExtendedEntityManager extendedEntityManager: currentActiveEntityManagers.values()) {
        extendedEntityManager.internalAssociateWithJtaTx();
      }
    }
  }
}
origin: org.jboss.eap/wildfly-jpa

  @Override
  public void userTransactionStarted() throws SystemException {

    Map<String, ExtendedEntityManager> currentActiveEntityManagers = SFSBCallStack.currentSFSBCallStackInvocation();
    if (currentActiveEntityManagers != null && currentActiveEntityManagers.size() > 0) {
      for (ExtendedEntityManager extendedEntityManager: currentActiveEntityManagers.values()) {
        extendedEntityManager.internalAssociateWithJtaTx();
      }
    }
  }
}
org.jboss.as.jpa.containerSFSBCallStackcurrentSFSBCallStackInvocation

Javadoc

return for just the current entity manager invocation

Popular methods of SFSBCallStack

  • beginSfsbCreation
    called from SFSBPreCreateInterceptor, before bean creation
  • currentSFSBCallStack
    Return the current entity manager call stack
  • 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

  • Making http post requests using okhttp
  • runOnUiThread (Activity)
  • setScale (BigDecimal)
  • getExternalFilesDir (Context)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Socket (java.net)
    Provides a client-side TCP socket.
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • JFrame (javax.swing)
  • JTextField (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
  • 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