public Sample1(String className) throws Exception {
// For some reason, if resolution is "*", instrumentation fails
// Initializer i = new Initializer("samples.*", this);
Initializer i =
new Initializer(new String[] {"samples.*"}, null,
"samples.*", this);
// Run the main method of class
i.runMainMethod(className, null);
// alternatively, we could get the classloader from initializer
// and load the class manually. If done this way, care must
// be taken, that *all* the relevant(application) classes are loaded
// by i.getClassLoader().