You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bcel-user@jakarta.apache.org by Johannes Zillmann <jz...@media-style.com> on 2006/03/16 14:06:12 UTC

remote class proxy

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-user-help@jakarta.apache.org