public ComponentClassAdapter (final String hostClass,
final ClassLoader classLoader) throws IOException {
this(new ClassReader(classLoader.getResourceAsStream(
hostClass.replace(".", "/") + ".class")));
this.script = new ScriptComponent(hostClass, classLoader);
this.functions = script.getFunctionNames();
}