ex.printStackTrace();
}
}
public void testRegisterInstrumentation() {
JMXConnectorPolicyType connector = new JMXConnectorPolicyType();
connector.setDaemon(false);
connector.setThreaded(false);
connector.setJMXServiceURL("service:jmx:rmi:///jndi/rmi://localhost:9913/jmxrmi");
manager.init(connector);
// setup the fack instrumentation
AnnotationTestInstrumentation im = new AnnotationTestInstrumentation();
ObjectName name = JMXUtils.getObjectName(im.getUniqueInstrumentationName(),
im.getInstrumentationName());