String descAttrib = omElement.getAttributeValue(new QName("description"));
String description = "Description not found";
if (descAttrib != null) {
description = descAttrib.trim();
}
GroupManagementAgent eventHandler;
try {
eventHandler = (GroupManagementAgent) Class.forName(handlerClass).newInstance();
eventHandler.setDescription(description);
} catch (Exception e) {
String msg = "Could not instantiate GroupManagementAgent " + handlerClass +
" for domain " + domainName;
log.error(msg, e);
throw new DeploymentException(msg, e);