congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
TransactionListener
Code IndexAdd Tabnine to your IDE (free)

How to use
TransactionListener
in
org.camunda.bpm.engine.impl.cfg

Best Java code snippets using org.camunda.bpm.engine.impl.cfg.TransactionListener (Showing top 13 results out of 315)

origin: camunda/camunda-bpm-platform

 @Override
 public void afterCommit() {
  transactionListener.execute(commandContext);
 }
});
origin: camunda/camunda-bpm-platform

 @Override
 public void beforeCompletion() {
  transactionListener.execute(commandContext);
 }
});
origin: camunda/camunda-bpm-platform

 @Override
 public void beforeCommit(boolean readOnly) {
  transactionListener.execute(commandContext);
 }
});
origin: camunda/camunda-bpm-platform

 @Override
 public void afterCompletion(int status) {
  if(TransactionSynchronization.STATUS_ROLLED_BACK == status) {
   transactionListener.execute(commandContext);
  }
 }
});
origin: camunda/camunda-bpm-platform

public void afterCompletion(int status) {
 if(Status.STATUS_ROLLEDBACK == status && TransactionState.ROLLED_BACK.equals(transactionState)) {
  transactionListener.execute(commandContext);
 } else if(Status.STATUS_COMMITTED == status && TransactionState.COMMITTED.equals(transactionState)) {
  transactionListener.execute(commandContext);
 }
}
origin: camunda/camunda-bpm-platform

public void afterCompletion(int status) {
 if(Status.STATUS_ROLLEDBACK == status && TransactionState.ROLLED_BACK.equals(transactionState)) {
  transactionListener.execute(commandContext);
 } else if(Status.STATUS_COMMITTED == status && TransactionState.COMMITTED.equals(transactionState)) {
  transactionListener.execute(commandContext);
 }
}
origin: camunda/camunda-bpm-platform

protected void fireTransactionEvent(TransactionState transactionState) {
 this.setLastTransactionState(transactionState);
 if (stateTransactionListeners==null) {
  return;
 }
 List<TransactionListener> transactionListeners = stateTransactionListeners.get(transactionState);
 if (transactionListeners==null) {
  return;
 }
 for (TransactionListener transactionListener: transactionListeners) {
  transactionListener.execute(commandContext);
 }
}
origin: camunda/camunda-bpm-platform

protected void fireTransactionEvent(TransactionState transactionState) {
 this.setLastTransactionState(transactionState);
 if (stateTransactionListeners==null) {
  return;
 }
 List<TransactionListener> transactionListeners = stateTransactionListeners.get(transactionState);
 if (transactionListeners==null) {
  return;
 }
 for (TransactionListener transactionListener: transactionListeners) {
  transactionListener.execute(commandContext);
 }
}
origin: camunda/camunda-bpm-platform

public void beforeCompletion() {
 if(TransactionState.COMMITTING.equals(transactionState)
   || TransactionState.ROLLINGBACK.equals(transactionState)) {
  transactionListener.execute(commandContext);
 }
}
origin: camunda/camunda-bpm-platform

public void beforeCompletion() {
 if(TransactionState.COMMITTING.equals(transactionState)
   || TransactionState.ROLLINGBACK.equals(transactionState)) {
  transactionListener.execute(commandContext);
 }
}
origin: org.camunda.bpm/camunda-engine

public void afterCompletion(int status) {
 if(Status.STATUS_ROLLEDBACK == status && TransactionState.ROLLED_BACK.equals(transactionState)) {
  transactionListener.execute(commandContext);
 } else if(Status.STATUS_COMMITTED == status && TransactionState.COMMITTED.equals(transactionState)) {
  transactionListener.execute(commandContext);
 }
}
origin: org.camunda.bpm/camunda-engine

protected void fireTransactionEvent(TransactionState transactionState) {
 this.setLastTransactionState(transactionState);
 if (stateTransactionListeners==null) {
  return;
 }
 List<TransactionListener> transactionListeners = stateTransactionListeners.get(transactionState);
 if (transactionListeners==null) {
  return;
 }
 for (TransactionListener transactionListener: transactionListeners) {
  transactionListener.execute(commandContext);
 }
}
origin: org.camunda.bpm/camunda-engine

public void beforeCompletion() {
 if(TransactionState.COMMITTING.equals(transactionState)
   || TransactionState.ROLLINGBACK.equals(transactionState)) {
  transactionListener.execute(commandContext);
 }
}
org.camunda.bpm.engine.impl.cfgTransactionListener

Javadoc

Implementations may not assume that this is executed by the same thread as the command itself. Especially thread locals such as those available in Context should not be accessed in an implementation of this interface. See CAM-3684 for details.

Most used methods

  • execute

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (Timer)
  • setContentView (Activity)
  • getResourceAsStream (ClassLoader)
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JComboBox (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
  • Option (scala)
  • Top Vim plugins
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