T
- The type of configuration handled by this notification handler.@PublicAPI(stability=VOLATILE, mayInstantiate=false, mayExtend=true, mayInvoke=false) public abstract class AccountStatusNotificationHandler<T extends AccountStatusNotificationHandlerCfg> extends Object
Constructor and Description |
---|
AccountStatusNotificationHandler() |
Modifier and Type | Method and Description |
---|---|
void |
finalizeStatusNotificationHandler()
Performs any finalization that may be necessary when this status notification handler is taken out of service.
|
abstract void |
handleStatusNotification(AccountStatusNotification notification)
Performs any processing that may be necessary in conjunction with the provided account status notification.
|
abstract void |
initializeStatusNotificationHandler(T configuration)
Initializes this account status notification handler based on the information in the provided configuration
entry.
|
boolean |
isConfigurationAcceptable(T configuration,
List<LocalizableMessage> unacceptableReasons)
Indicates whether the provided configuration is acceptable for this account status notification handler.
|
public abstract void initializeStatusNotificationHandler(T configuration) throws ConfigException, InitializationException
configuration
- The configuration entry that contains the information to use to initialize this account status
notification handler.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(T configuration, List<LocalizableMessage> unacceptableReasons)
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 finalizeStatusNotificationHandler()
public abstract void handleStatusNotification(AccountStatusNotification notification)
notification
- The account status notification to be processed.Copyright 2010-2022 ForgeRock AS.