Interface NotificationFactory


public interface NotificationFactory
Author:
Andrew Woods Date: 3/11/11
  • Method Summary

    Modifier and Type
    Method
    Description
    getEmailer(String fromAddress)
    This method creates an Emailer which connects to an underlying notification provider
    void
    initialize(String username, String password)
    This method initializes the factory with credentials for underlying notification platform.
  • Method Details

    • initialize

      void initialize(String username, String password)
      This method initializes the factory with credentials for underlying notification platform.
      Parameters:
      username - of notification service
      password - of notification service
    • getEmailer

      Emailer getEmailer(String fromAddress)
      This method creates an Emailer which connects to an underlying notification provider
      Parameters:
      fromAddress - of all emails sent with resultant Emailer
      Returns:
      Emailer