public final class Notifier
extends java.lang.Object
implements java.util.Observer
ExtProperties object. The structure must be:
senders=N
sender_I.class=classname
sender_I.key1=value1
...
Sender. See subclasses of Sender for details
on what keys and values are expected for each.ExtProperties.setAutoReload(long) is called
for the instance you give here.| Constructor and Description |
|---|
Notifier(ExtProperties prop) |
Notifier(ExtProperties prop,
java.lang.ClassLoader loader)
If you want to load arbitrary classes from one of the senders you should use this method, giving as argument
this.getClass().getClassLoader(). |
public Notifier(ExtProperties prop)
prop - public Notifier(ExtProperties prop, java.lang.ClassLoader loader)
this.getClass().getClassLoader(). You should also use this constructor if you want to
load custom Sender classes that reside inside a webapp zone (or anywhere else where it is not
accessible through the default class loader).prop - loader - public boolean send(Message m)
m - public void update(java.util.Observable o,
java.lang.Object arg)
update in interface java.util.Observer