congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Synchronizations.afterTransactionBegin
Code IndexAdd Tabnine to your IDE (free)

How to use
afterTransactionBegin
method
in
org.jboss.seam.transaction.Synchronizations

Best Java code snippets using org.jboss.seam.transaction.Synchronizations.afterTransactionBegin (Showing top 9 results out of 315)

origin: org.jbpm/droolsjbpm-knowledge-services

public void begin() throws NotSupportedException, SystemException {
  btm.begin();
  getSynchronizations().afterTransactionBegin();
}
origin: org.jboss.seam.transaction/seam-transaction

public void begin() throws NotSupportedException, SystemException {
  log.debug("beginning JPA resource-local transaction");
  // TODO: translate exceptions that occur into the correct JTA exception
  try {
    getDelegate().begin();
    getSynchronizations().afterTransactionBegin();
  } catch (RuntimeException re) {
    throw re;
  }
}
origin: org.jboss.seam/jboss-seam

public void begin() throws NotSupportedException, SystemException
{
 ejbContext.getUserTransaction().begin();
 getSynchronizations().afterTransactionBegin();
}
origin: org.jboss.seam.transaction/seam-transaction

public void begin() throws NotSupportedException, SystemException {
  ejbContext.getUserTransaction().begin();
  getSynchronizations().afterTransactionBegin();
}
origin: org.jboss.seam/jboss-seam

public void begin() throws NotSupportedException, SystemException
{
 log.debug("beginning JTA transaction");
 delegate.begin();
 getSynchronizations().afterTransactionBegin();
}
origin: org.jboss.seam.transaction/seam-transaction

public void begin() throws NotSupportedException, SystemException {
  log.debug("beginning JTA transaction");
  delegate.begin();
  getSynchronizations().afterTransactionBegin();
}
origin: org.jboss.seam/jboss-seam

public void begin() throws NotSupportedException, SystemException
{
 log.debug("beginning JPA resource-local transaction");
 //TODO: translate exceptions that occur into the correct JTA exception
 assertNotActive();
 initEntityManager();
 try
 {
   getDelegate().begin();
   getSynchronizations().afterTransactionBegin();
 }
 catch (RuntimeException re)
 {
   clearEntityManager();
   throw re;
 }
}
origin: org.jboss.seam/jboss-seam-ioc

public void begin() throws NotSupportedException, SystemException
{
 log.debug("beginning Spring transaction");
 if (TransactionSynchronizationManager.isActualTransactionActive())
 {
   throw new NotSupportedException("A Spring transaction is already active.");
 }
 currentTransaction = getPlatformTransactionManagerRequired().getTransaction(definition);
 getSynchronizations().afterTransactionBegin();
}
origin: org.jboss.seam.transaction/seam-transaction

public void begin() throws NotSupportedException, SystemException {
  log.debug("beginning JPA resource-local transaction");
  // TODO: translate exceptions that occur into the correct JTA exception
  try {
    getDelegate().begin();
    getSynchronizations().afterTransactionBegin();
    // use hibernate to manage the synchronizations
    // that way even if the user commits the transaction
    // themselves they will still be handled
    getDelegate().registerSynchronization(this);
    synchronizationRegistered = true;
  } catch (RuntimeException re) {
    throw re;
  }
}
org.jboss.seam.transactionSynchronizationsafterTransactionBegin

Popular methods of Synchronizations

  • beforeTransactionCommit
  • registerSynchronization
  • isAwareOfContainerTransactions
  • afterTransactionCommit
  • afterTransactionCompletion
  • afterTransactionRollback

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (Timer)
  • getApplicationContext (Context)
  • putExtra (Intent)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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