Class EmailParametersRequestHandlerSimpleton

All Implemented Interfaces:

public class EmailParametersRequestHandlerSimpleton
extends Simpleton
implements EventHandler

This Simpleton is responsible for handling EmailParametersRequestEvent-s. When signaled with such an event, it first searches the Pool for existing EmailParametersEntityValue-s. If none are found, it prompts the user for the email parameters by firing an EmailConfigurationRequestEvent into the Pool's event channel. Any interested EmailConfigurator-s handle()-ing EmailConfigurationRequestEvents should prompt the user for new email parameters and dump a EmailParametersEnteredCollectorEvent containing the user's email parameters (as an EmailParametersEntityValue).

$Revision: 1.6 $
Team Helium

Nested Class Summary
Nested classes inherited from class org.datamanager.kernel.Simpleton
Simpleton.Information, Simpleton.Priority
Constructor Summary
Method Summary
 void handle(DataManagerEvent event)
          Handle a DataManagerEvent that has been fired.
 void process()
          Performs the work of this Simpleton.
Methods inherited from class org.datamanager.kernel.Simpleton
clone, getInformation, getPriority, setInformation, setPriority, start
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public EmailParametersRequestHandlerSimpleton()
Method Detail


public void process()
Description copied from class: Simpleton
Performs the work of this Simpleton. Simpleton implementation must override this class.

Specified by:
process in class Simpleton


public void handle(DataManagerEvent event)
Description copied from interface: EventHandler
Handle a DataManagerEvent that has been fired.

Specified by:
handle in interface EventHandler
event - The event to handle.

See the Helium Website