// Initialize existing account status notification handlers.
for (String handlerName:
rootConfiguration.listAccountStatusNotificationHandlers())
{
// Get the account status notification handler's configuration.
AccountStatusNotificationHandlerCfg config =
rootConfiguration.getAccountStatusNotificationHandler (handlerName);
// Register as a change listener for this notification handler
// entry so that we will be notified of any changes that may be
// made to it.
config.addChangeListener (this);
// Ignore this notification handler if it is disabled.
if (config.isEnabled())
{
// Load the notification handler implementation class.
String className = config.getJavaClass();
loadAndInstallNotificationHandler (className, config);
}
}
}