for (Node descN = firstN; descN != null;
descN = DomUtil.getNext( descN ))
{
// Create new notification info
NotificationInfo ni=new NotificationInfo();
DomUtil.setAttributes(ni, descN);
// Process descriptor subnode
Node firstDescriptorN =
DomUtil.getChild(descN, "descriptor");
if (firstDescriptorN != null) {
Node firstFieldN =
DomUtil.getChild(firstDescriptorN, "field");
for (Node fieldN = firstFieldN; fieldN != null;
fieldN = DomUtil.getNext(fieldN)) {
FieldInfo fi = new FieldInfo();
DomUtil.setAttributes(fi, fieldN);
ni.addField(fi);
}
}
// Process notification-type subnodes
Node firstParamN=DomUtil.getChild( descN, "notification-type");
for (Node paramN = firstParamN; paramN != null;
paramN = DomUtil.getNext(paramN))
{
ni.addNotifType( DomUtil.getContent(paramN) );
}
// Add this info to our managed bean info
managed.addNotification( ni );
if (log.isTraceEnabled()) {