Package org.duracloud.notification
Interface NotificationFactory
public interface NotificationFactory
- Author:
- Andrew Woods Date: 3/11/11
-
Method Summary
Modifier and TypeMethodDescriptiongetEmailer(String fromAddress) This method creates an Emailer which connects to an underlying notification providervoidinitialize(String username, String password) This method initializes the factory with credentials for underlying notification platform.
-
Method Details
-
initialize
This method initializes the factory with credentials for underlying notification platform.- Parameters:
username- of notification servicepassword- of notification service
-
getEmailer
This method creates an Emailer which connects to an underlying notification provider- Parameters:
fromAddress- of all emails sent with resultant Emailer- Returns:
- Emailer
-