Notifiers

Write a class that extends AbstractContinuumNotifier

Configure apps/continuum/conf/application.xml

    <component>
      <role>org.codehaus.plexus.notification.notifier.Notifier</role>
      <role-hint>your_notifier_id</role-hint>
      <implementation>package.notifier_class</implementation>
    </component>

If you have some requirement in your class like 'ConfiguredService' declared like that in jabber notifier class:

/**
 * @plexus.requirement
 */
 private ConfigurationService configurationService;

you must add it in the <requirement> tag in application.xml, so plexus will set and initialize configurationService automatically.

The configuration part is to initialize your notifier when it is created by plexus. If in your configuration, you add <password>myPassword</password>, plexus will initialize the private password field in your class automatically.

Plexus site: http://plexus.codehaus.org

If you want to use your notifier from the UI, you'll need to add some new JSPs in the webapp and modify some other to add your notifier.

Place your jar in apps/continuum/webapp/WEB-INF/lib/

Labels

 
(None)