Hi,

If I have two classes C1 and C2, with valid bindings and implementing
a common interface, and I want to use the java.lang.reflect.Proxy
approach to create a dynamic proxy with either C1 or C2 as the subject
(i.e. implementing an InvocationHandler). Is there any way I can
create a binding for two instances of the dynamic proxies (say C1Proxy
and C2Proxy)?

It seems like I should be able to do this through the use of a factory
and/or custom serializer but I can't quite see how I could reuse the
same proxy code for both types. Can anyone think of how I might do
this or am I dreaming?

Regards,

Mike

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to