// Initialize existing handlers.
for (String name : root.listExtendedOperationHandlers())
{
// Get the handler's configuration.
// This will decode and validate its properties.
ExtendedOperationHandlerCfg config =
root.getExtendedOperationHandler(name);
// Register as a change listener for this handler so that we can be
// notified when it is disabled or enabled.
config.addChangeListener(this);
// Ignore this handler if it is disabled.
if (config.isEnabled())
{
// Load the handler's implementation class and initialize it.
ExtendedOperationHandler handler = getHandler(config);
// Put this handler in the hash map so that we will be able to find
// it if it is deleted or disabled.
handlers.put(config.dn(), handler);
}
}
}