congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Updating database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • compareTo (BigDecimal)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JPanel (javax.swing)
  • Best plugins for Eclipse
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