tokenMap.put(Constants.SERVER_NAME_PROP, server);
tokenMap.put(Constants.DOMAIN_NAME_PROP, domain);
String cmmObjectName = ObjectNameHelper.tokenizeON(asObjectName,
cmmObjectNameTemplate, tokenMap);
CMMMBeanDiscoveryServiceFactory dicoveryServiceFactory =
CMMMBeanDiscoveryServiceFactory.getInstance();
CMMMBeanDiscoveryService discoveryService =
dicoveryServiceFactory.getCMMMBeanDiscoveryService();
if(discoveryService != null) {
Set cmmMBeans =
discoveryService.discoverCMMMBeans(new ObjectName(cmmObjectName));
mediator.unload(cmmMBeans);
} else {