Skip to content

Instantly share code, notes, and snippets.

View frystalizer's full-sized avatar

Tan Le frystalizer

  • CSC Viet Nam
  • Viet Nam
View GitHub Profile
@Genzer
Genzer / RunOnceOnServerStartEventBean.java
Created August 11, 2016 04:28
How to implement a background job which starts only ONCE on Axon.ivy Engine PMV starts.
import java.util.*;
import ch.ivyteam.ivy.process.eventstart.*;
import ch.ivyteam.ivy.request.RequestException;
import ch.soreco.alag.exception.OperationFailedException;
/**
* The {@code RunOnceOnServerStartEventBean} is an Ivy start event bean
* {@linkplain IProcessStartEventBean}. It's is designed to start a process only
* <strong>ONCE</strong> on the server startup.