public class SMTPAccountStatusNotificationHandler extends AccountStatusNotificationHandler<org.forgerock.opendj.server.config.server.SMTPAccountStatusNotificationHandlerCfg> implements org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.SMTPAccountStatusNotificationHandlerCfg>
| Constructor and Description |
|---|
SMTPAccountStatusNotificationHandler()
Creates a new, uninitialized instance of this account status notification handler.
|
| Modifier and Type | Method and Description |
|---|---|
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationChange(org.forgerock.opendj.server.config.server.SMTPAccountStatusNotificationHandlerCfg configuration) |
void |
handleStatusNotification(AccountStatusNotification notification)
Performs any processing that may be necessary in conjunction with
the provided account status notification.
|
void |
initializeStatusNotificationHandler(org.forgerock.opendj.server.config.server.SMTPAccountStatusNotificationHandlerCfg configuration)
Initializes this account status notification handler based on the
information in the provided configuration entry.
|
boolean |
isConfigurationAcceptable(org.forgerock.opendj.server.config.server.AccountStatusNotificationHandlerCfg configuration,
List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons)
Indicates whether the provided configuration is acceptable for
this account status notification handler.
|
boolean |
isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.SMTPAccountStatusNotificationHandlerCfg configuration,
List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons) |
finalizeStatusNotificationHandlerpublic SMTPAccountStatusNotificationHandler()
public void initializeStatusNotificationHandler(org.forgerock.opendj.server.config.server.SMTPAccountStatusNotificationHandlerCfg configuration)
throws org.forgerock.opendj.config.server.ConfigException,
InitializationException
AccountStatusNotificationHandlerinitializeStatusNotificationHandler in class AccountStatusNotificationHandler<org.forgerock.opendj.server.config.server.SMTPAccountStatusNotificationHandlerCfg>configuration - The configuration entry that contains the
information to use to initialize this
account status notification handler.org.forgerock.opendj.config.server.ConfigException - If the provided entry does not contain
a valid configuration for this account
status notification handler.InitializationException - If a problem occurs during
initialization that is not
related to the server
configuration.public boolean isConfigurationAcceptable(org.forgerock.opendj.server.config.server.AccountStatusNotificationHandlerCfg configuration,
List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons)
AccountStatusNotificationHandlerisConfigurationAcceptable in class AccountStatusNotificationHandler<org.forgerock.opendj.server.config.server.SMTPAccountStatusNotificationHandlerCfg>configuration - The account status notification
handler configuration for which to
make the determination.unacceptableReasons - A list that may be used to hold the
reasons that the provided
configuration is not acceptable.true if the provided configuration is acceptable
for this account status notification handler, or
false if not.public void handleStatusNotification(AccountStatusNotification notification)
AccountStatusNotificationHandlerhandleStatusNotification in class AccountStatusNotificationHandler<org.forgerock.opendj.server.config.server.SMTPAccountStatusNotificationHandlerCfg>notification - The account status notification to be
processed.public boolean isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.SMTPAccountStatusNotificationHandlerCfg configuration,
List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons)
isConfigurationChangeAcceptable in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.SMTPAccountStatusNotificationHandlerCfg>public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationChange(org.forgerock.opendj.server.config.server.SMTPAccountStatusNotificationHandlerCfg configuration)
applyConfigurationChange in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.SMTPAccountStatusNotificationHandlerCfg>Copyright © 2010-2020 Wren Security. All Rights Reserved.