org.datamanager.simpleton
Class EmailParametersRequestHandlerSimpleton

java.lang.Object
  |
  +--org.datamanager.kernel.Simpleton
        |
        +--org.datamanager.simpleton.EmailParametersRequestHandlerSimpleton
All Implemented Interfaces:
EventHandler

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).

Version:
$Revision: 1.6 $
Author:
Team Helium

Nested Class Summary
 
Nested classes inherited from class org.datamanager.kernel.Simpleton
Simpleton.Information, Simpleton.Priority
 
Constructor Summary
EmailParametersRequestHandlerSimpleton()
           
 
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

EmailParametersRequestHandlerSimpleton

public EmailParametersRequestHandlerSimpleton()
Method Detail

process

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

handle

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

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


See the Helium Website