Java extensions as event handlers
Java™ extensions enable you to implement event handlers as Java classes. With each action, you can associate one Java event handler. The Java class you create must implement the com.yantra.yfs.japi.util.YFSEventHandlerEx interface. This is achieved by using a custom API which actually runs the program in a service.