public JMXControlService(String domain,Hashtable<String,String> additionalKeys){
  mbs=ManagementFactory.getPlatformMBeanServer();
  this.domain=domain;
  this.additionalKeys=additionalKeys;
}

public JMXControlService ( String domain , Hashtable < String , String > additionalKeys ) { mbs = ManagementFactory . getPlatformMBeanServer ( ) ; this . domain = domain ; this . additionalKeys = additionalKeys ; }
jmx control service using the platform mbean server .
