Notification Interface

19.5. Notification Interface

The Notification Interface is an extension point for sending event notifications from SICS to external systems.

A custom Java implementation of the interface must implement com.csc.cnu.base.domain.SicsNotificationInterface.

SICS will acquire an instance of the implementation by invoking the no-argument constructor of the class specified in the configuration file. The constructor can throw any kind of checked and non-checked exception. Any exception when invoking the constructor is a sign of mis-configuration. It will be logged in the walkback file and will cause the termination of SICS.

On the other hand, an exception thrown when SICS invokes the ‘sendNotification’ method, will be logged to a suitable logger (if so configured) and otherwise be ignored.

SICS will use the class named as specified by the parameter NotificationInterface in:

SICS Desktop: conf/sics.global.resource.registry.properties

SICS API Server, SICS Batch Server: WEB-INF/web.xml