Re: Extend Notification Manager

"Jorge Uriarte Aretxaga" <[email protected]>
Newsgroups gmane.comp.java.scarab.user
Message-ID <[email protected]>
As you can guess from other recent mails, NoticationManager running is
driven by the quartz scheduler component configuration.
Extending NotificationManager is as simple as creating a new class (that
must implement NotificationManager, and might or not extend
ScarabNewNotificationManager or ScarabOldNotificatiopnManager if you want to
reuse some behaviour).

Then you must change the following line in build.properties:

scarab.notificationmanager.classname=org.tigris.scarab.notification.ScarabNotificationManager

with the name of your new class, and rebuild.

NotificationManager is already in the middle of every event in Scarab, so
it's a great place to code integration logic (my company has done that
frequently)

Regards,

_
Jorge

On 1/23/08, Anatoly Shipitsin <[email protected]> wrote:
>
> Hello.
>
> How extend Notfification Manager? Any Example exist? When Notfication
> Manager run?
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.