Java Code Examples for org.springframework.transaction.event.TransactionPhase#AFTER_COMMIT

The following examples show how to use org.springframework.transaction.event.TransactionPhase#AFTER_COMMIT . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DataManagerTransactionalUsageTest.java    From cuba with Apache License 2.0 4 votes vote down vote up
@TransactionalEventListener(phase = TransactionPhase.AFTER_COMMIT)
protected void notifyAboutChanges(EntityChangedEvent<OrderLine, UUID> event) {
    System.out.println("Changed OrderLine: " + event);
}
 
Example 2
Source File: TestEventCaptor.java    From camunda-bpm-spring-boot-starter with Apache License 2.0 4 votes vote down vote up
@TransactionalEventListener(phase = TransactionPhase.AFTER_COMMIT, fallbackExecution = true)
public void onTransactionalEvent(HistoryEvent event) {
  transactionHistoryEvents.push(event);
}
 
Example 3
Source File: TestEventCaptor.java    From camunda-bpm-spring-boot-starter with Apache License 2.0 4 votes vote down vote up
@TransactionalEventListener(phase = TransactionPhase.AFTER_COMMIT, fallbackExecution = true)
public void onTransactionalEvent(DelegateExecution event) {
  transactionExecutionEvents.push(new ExecutionEvent(event));
}
 
Example 4
Source File: TestEventCaptor.java    From camunda-bpm-spring-boot-starter with Apache License 2.0 4 votes vote down vote up
@TransactionalEventListener(phase = TransactionPhase.AFTER_COMMIT, fallbackExecution = true)
public void onTransactionalEvent(DelegateTask event) {
  transactionTaskEvents.push(new TaskEvent(event));
}
 
Example 5
Source File: TestEventCaptor.java    From camunda-bpm-spring-boot-starter with Apache License 2.0 4 votes vote down vote up
@TransactionalEventListener(phase = TransactionPhase.AFTER_COMMIT, fallbackExecution = true)
public void onTransactionalEvent(ExecutionEvent event) {
  transactionImmutableExecutionEvents.push(event);
}
 
Example 6
Source File: TestEventCaptor.java    From camunda-bpm-spring-boot-starter with Apache License 2.0 4 votes vote down vote up
@TransactionalEventListener(phase = TransactionPhase.AFTER_COMMIT, fallbackExecution = true)
public void onTransactionalEvent(TaskEvent event) {
  transactionImmutableTaskEvents.push(event);
}
 
Example 7
Source File: DatabaseTransactionMessageInterceptor.java    From onetwo with Apache License 2.0 4 votes vote down vote up
@TransactionalEventListener(phase=TransactionPhase.AFTER_COMMIT)
void afterCommit(SendMessageEvent event);
 
Example 8
Source File: TestEventCaptor.java    From camunda-bpm-platform with Apache License 2.0 4 votes vote down vote up
@TransactionalEventListener(phase = TransactionPhase.AFTER_COMMIT, fallbackExecution = true)
public void onTransactionalEvent(HistoryEvent event) {
  transactionHistoryEvents.push(event);
}
 
Example 9
Source File: TestEventCaptor.java    From camunda-bpm-platform with Apache License 2.0 4 votes vote down vote up
@TransactionalEventListener(phase = TransactionPhase.AFTER_COMMIT, fallbackExecution = true)
public void onTransactionalEvent(DelegateExecution event) {
  transactionExecutionEvents.push(new ExecutionEvent(event));
}
 
Example 10
Source File: TestEventCaptor.java    From camunda-bpm-platform with Apache License 2.0 4 votes vote down vote up
@TransactionalEventListener(phase = TransactionPhase.AFTER_COMMIT, fallbackExecution = true)
public void onTransactionalEvent(DelegateTask event) {
  transactionTaskEvents.push(new TaskEvent(event));
}
 
Example 11
Source File: TestEventCaptor.java    From camunda-bpm-platform with Apache License 2.0 4 votes vote down vote up
@TransactionalEventListener(phase = TransactionPhase.AFTER_COMMIT, fallbackExecution = true)
public void onTransactionalEvent(ExecutionEvent event) {
  transactionImmutableExecutionEvents.push(event);
}
 
Example 12
Source File: TestEventCaptor.java    From camunda-bpm-platform with Apache License 2.0 4 votes vote down vote up
@TransactionalEventListener(phase = TransactionPhase.AFTER_COMMIT, fallbackExecution = true)
public void onTransactionalEvent(TaskEvent event) {
  transactionImmutableTaskEvents.push(event);
}