remote class proxy
Johannes Zillmann <[email protected]> Thu, 16 Mar 2006 14:06:12 +0100
| Newsgroups | gmane.comp.jakarta.bcel.user |
|---|---|
| Message-ID | <[email protected]> |
Hello folks, i'm having a specific problem and i'm unsure if its solvable with bcel... I'm working on a remote-proxy application so i want to create an instance of a class remotely but operate on it locally. Imagine something like this: Calculator calc=(Calculator) ProxyFactory.createProxy(Calculator.class); With the cglib enhancement mechanism it is possible to do the described. My problem is now, since the proxy object class is a subclass of Calculator, all imports/dependecies of the calculator class needs also to be resolved at the local jvm. Have somebody an idea how to solve that ? For example take the imports out of Calculater class at runtime (on local site )? best regards Johannes