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

How to use
fireTransactionEvent
method
in
org.camunda.bpm.engine.impl.cfg.standalone.StandaloneTransactionContext

Best Java code snippets using org.camunda.bpm.engine.impl.cfg.standalone.StandaloneTransactionContext.fireTransactionEvent (Showing top 8 results out of 315)

origin: camunda/camunda-bpm-platform

protected void fireTransactionEventAsync(final TransactionState transactionState) {
 super.fireTransactionEvent(transactionState);
}
origin: camunda/camunda-bpm-platform

public void commit() {
 LOG.debugTransactionOperation("firing event committing...");
 fireTransactionEvent(TransactionState.COMMITTING);
 LOG.debugTransactionOperation("committing the persistence session...");
 getPersistenceProvider().commit();
 LOG.debugTransactionOperation("firing event committed...");
 fireTransactionEvent(TransactionState.COMMITTED);
}
origin: camunda/camunda-bpm-platform

public void commit() {
 LOG.debugTransactionOperation("firing event committing...");
 fireTransactionEvent(TransactionState.COMMITTING);
 LOG.debugTransactionOperation("committing the persistence session...");
 getPersistenceProvider().commit();
 LOG.debugTransactionOperation("firing event committed...");
 fireTransactionEvent(TransactionState.COMMITTED);
}
origin: camunda/camunda-bpm-platform

public void rollback() {
 try {
  try {
   LOG.debugTransactionOperation("firing event rollback...");
   fireTransactionEvent(TransactionState.ROLLINGBACK);
  }
  catch (Throwable exception) {
   LOG.exceptionWhileFiringEvent(TransactionState.ROLLINGBACK, exception);
   Context.getCommandInvocationContext().trySetThrowable(exception);
  }
  finally {
   LOG.debugTransactionOperation("rolling back the persistence session...");
   getPersistenceProvider().rollback();
  }
 }
 catch (Throwable exception) {
  LOG.exceptionWhileFiringEvent(TransactionState.ROLLINGBACK, exception);
  Context.getCommandInvocationContext().trySetThrowable(exception);
 }
 finally {
  LOG.debugFiringEventRolledBack();
  fireTransactionEvent(TransactionState.ROLLED_BACK);
 }
}
origin: camunda/camunda-bpm-platform

public void rollback() {
 try {
  try {
   LOG.debugTransactionOperation("firing event rollback...");
   fireTransactionEvent(TransactionState.ROLLINGBACK);
  }
  catch (Throwable exception) {
   LOG.exceptionWhileFiringEvent(TransactionState.ROLLINGBACK, exception);
   Context.getCommandInvocationContext().trySetThrowable(exception);
  }
  finally {
   LOG.debugTransactionOperation("rolling back the persistence session...");
   getPersistenceProvider().rollback();
  }
 }
 catch (Throwable exception) {
  LOG.exceptionWhileFiringEvent(TransactionState.ROLLINGBACK, exception);
  Context.getCommandInvocationContext().trySetThrowable(exception);
 }
 finally {
  LOG.debugFiringEventRolledBack();
  fireTransactionEvent(TransactionState.ROLLED_BACK);
 }
}
origin: org.camunda.bpm/camunda-engine

protected void fireTransactionEventAsync(final TransactionState transactionState) {
 super.fireTransactionEvent(transactionState);
}
origin: org.camunda.bpm/camunda-engine

public void commit() {
 LOG.debugTransactionOperation("firing event committing...");
 fireTransactionEvent(TransactionState.COMMITTING);
 LOG.debugTransactionOperation("committing the persistence session...");
 getPersistenceProvider().commit();
 LOG.debugTransactionOperation("firing event committed...");
 fireTransactionEvent(TransactionState.COMMITTED);
}
origin: org.camunda.bpm/camunda-engine

public void rollback() {
 try {
  try {
   LOG.debugTransactionOperation("firing event rollback...");
   fireTransactionEvent(TransactionState.ROLLINGBACK);
  }
  catch (Throwable exception) {
   LOG.exceptionWhileFiringEvent(TransactionState.ROLLINGBACK, exception);
   Context.getCommandInvocationContext().trySetThrowable(exception);
  }
  finally {
   LOG.debugTransactionOperation("rolling back the persistence session...");
   getPersistenceProvider().rollback();
  }
 }
 catch (Throwable exception) {
  LOG.exceptionWhileFiringEvent(TransactionState.ROLLINGBACK, exception);
  Context.getCommandInvocationContext().trySetThrowable(exception);
 }
 finally {
  LOG.debugFiringEventRolledBack();
  fireTransactionEvent(TransactionState.ROLLED_BACK);
 }
}
org.camunda.bpm.engine.impl.cfg.standaloneStandaloneTransactionContextfireTransactionEvent

Popular methods of StandaloneTransactionContext

  • <init>
  • getPersistenceProvider
  • setLastTransactionState
  • commit
  • isTransactionActive
  • rollback

Popular in Java

  • Parsing JSON documents to java classes using gson
  • findViewById (Activity)
  • setContentView (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • JPanel (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • PhpStorm for WordPress
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