<NOTIFIER> : Notification service

Java class : leon.info.notifier.LyNotifier

ROLE

This element defines parameters to connect the application to a notification service. That kind of notification services can be used to complete services given by connectors. For example, it may send messages to all clients connected to the same database in order to warn all of them when one of them has added, modified or deleted an object. Those services may also be used to broadcast specific messages to all clients.

ATTRIBUTES

<!ATTLIST NOTIFIER
	  id ID #REQUIRED
	  condition CDATA #IMPLIED
	  properties CDATA #IMPLIED
	  javaName NMTOKEN #REQUIRED>
Attribute Mand. Description Default
id yes Identifier of the notification service.  
condition no The value of this attribute enables to control the existence of this notification service. This condition refers to a property defined or not inside the initialisation file of the application. If the property does not exists or equals false or equals 0, this location is no taken into account. This attribute may be used to manage several notification services and several applications inside a same system.  
properties no Name of the property file of the notification service. This file must be in the CLASSPATH of the application.  
javaName yes Full name of the java class that corresponds to the notification service. This class must inherit from the leon.notifier.LyEventNotifier class and have a public constructor with two parameters: LyApplication and LyNotifier. One shortcut exists that replace the class name:
- JavaName='jms': shortcut to leon.notifier.jms.LyJmsNotifier.