if i ha a big application = 2 or plus class ,and i want to intercept calls,
i can make reflective all classes of my application ,
i tried , but i 've recived an error at runtime:
|
| ClassPool pool = new ClassPool();
| pool.insertClassPath(".");
| javassist.reflect.Loader rl = new javassist.reflect.Loader();
| rl.makeReflective("firstclass", "VerboseMetaobject","javassist.reflect.ClassMetaobject");
| rl.makeReflective("secondclass", "VerboseMetaobject","javassist.reflect.ClassMetaobject");
| rl.run("firstclass", args);
|
first class instances second class,
i recived the error:
ArrayIndexoutofBound :11
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877030#3877030
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877030
|