// Register add and delete listeners.
root.addExtendedOperationHandlerAddListener(this);
root.addExtendedOperationHandlerDeleteListener(this);
// 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);