RelationModeler rm = new RelationModeler(_context);
MappingQueryServiceFactory fac =
MappingQueryServiceFactory.getInstance();
MappingQueryService mqs =
fac.getMappingQueryService(_serverName, _domainName);
Set CMM_Mbeans = new HashSet();
Iterator iter = mbeans.iterator();
ObjectName asObjectName = null;
for(;iter.hasNext();) {
asObjectName = (ObjectName)iter.next();
NodeList nodes = mqs.getCMM_Mbeans(asObjectName.toString());
String cmmNameTemplate = null;
for (int i = 0; i < nodes.getLength(); i++) {
Element elem = (Element)nodes.item(i);
cmmNameTemplate = mqs.getCMM_ObjectName(elem);
String cmmName =
ObjectNameHelper.tokenizeON(asObjectName, cmmNameTemplate, _context.getTokens());
// discover cmm mbean
CMMMBeanDiscoveryServiceFactory factory =