| Sesat > Docs + Support > Development using the SFC > HOWTO develop a RunHandler |
Create AbcRunHandlerConfig.java in run-handler-config project.
Implement getter and setters to store configurable options.
Create AbcRunHandler.java in run-handler-control project.
Implement the handleRunningQuery method.
Add the run-handler to the mode you wish it to be applicable to.
For example:
<modes> <mode> <run-handlers> <abc bean-property-1="someValue" bean-property-2="someValue"/> </run-handlers> </mode> </modes>
The name of the element inside <run-handlers> is the name of the configuration POJO minux the RunHandlerConfig suffix, and with CamelCase translated to typical xml format camel-case.
genericno.sesam.no!WEB-INF/lib/genericno.sesam.no-run-handler-config-2.18-SNAPSHOT.jar genericno.sesam.no!WEB-INF/lib/genericno.sesam.no-run-handler-control-2.18-SNAPSHOT.jar