Logger logger = LogDomains.getLogger();
CMMMBeanDiscoveryServiceFactory fac =
CMMMBeanDiscoveryServiceFactory.getInstance();
CMMMBeanDiscoveryService dis = fac.getCMMMBeanDiscoveryService();
Collection mbeans = dis.discoverInstalledProductCMMMBeans();
if (mbeans.isEmpty())
return;
ObjectName source = (ObjectName)mbeans.toArray()[0];
RelationFactory rf = new RelationFactory(rm.getContext());