net.sourceforge.pebble.event.trackback
Class EmailNotificationListener

java.lang.Object
  extended by net.sourceforge.pebble.event.trackback.TrackBackListenerSupport
      extended by net.sourceforge.pebble.event.trackback.AbstractEmailNotificationListener
          extended by net.sourceforge.pebble.event.trackback.EmailNotificationListener
All Implemented Interfaces:
TrackBackListener

public class EmailNotificationListener
extends AbstractEmailNotificationListener

Sends an e-mail notification to the blog owners when new TrackBacks are added.

Author:
Simon Brown

Constructor Summary
EmailNotificationListener()
           
 
Method Summary
protected  java.util.Collection getEmailAddresses(TrackBack trackBack)
          Returns the collection of recipients.
 
Methods inherited from class net.sourceforge.pebble.event.trackback.AbstractEmailNotificationListener
trackBackAdded
 
Methods inherited from class net.sourceforge.pebble.event.trackback.TrackBackListenerSupport
trackBackApproved, trackBackRejected, trackBackRemoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailNotificationListener

public EmailNotificationListener()
Method Detail

getEmailAddresses

protected java.util.Collection getEmailAddresses(TrackBack trackBack)
Returns the collection of recipients.

Specified by:
getEmailAddresses in class AbstractEmailNotificationListener
Parameters:
trackBack - the TrackBack from the event
Returns:
a Collection of e-mail addresses (Strings)


Copyright © 2003-2006, Simon Brown. All Rights Reserved.