Implementing the session controller
To customize the behavior of Decision Center, you implement the IlrSessionController controller interface.
The default controller
Decision Center comes with a default implementation of the controller: IlrDefaultSessionController.
To keep the default Decision Center behavior while adding your own customizing, subclass the default controller instead of rewriting a new one.
Setting up your own controller
To set up your own controller, repackage the Decision Center archive with the repackage-ear command. In the repackage-ear command, use the -DadditionalJars argument to specify the JAR file containing your custom class.
For information on how to repackage the Decision Center archive, see Repackaging the Decision Center archive.
Set it as a Decision Center configuration parameter using the set-config-param Ant task:
ant set-config-param -Dkey=teamserver.controller.class -Dvalue=mycompany.MyControllerClass
Set it as a preference, adding the following line in a preferences.properties file that you can put in your JAR file:
teamserver.controller.class=mycompany.MyControllerClass