User development,

A new message was posted in the thread "Proxy SPI":

http://community.jboss.org/message/526440#526440

Author  : jaikiran pai
Profile : http://community.jboss.org/people/jaikiran

Message:
--------------------------------------------------------------
> mailto:[email protected] wrote:
> For Javassist proxies, won't you need to specify a base class as well?  
> 
Yes. The proposed SPI takes the "interfaces" param, which actually isn't really 
interfaces. It's the array of types to which the resultant proxy can be cast 
to. So that would accomodate the base class.
 
> mailto:[email protected] wrote:
>  
> You could, in fact, have a single factory which returns a 
> java.lang.reflect.Proxy if the base class is Object or Proxy, or a javassist 
> proxy otherwise, could you not?
 
That could be done too. But any new proxyfactory implementations (cglib?) would 
then have to be accomodated into that single implementation.

--------------------------------------------------------------

To reply to this message visit the message page: 
http://community.jboss.org/message/526440#526440


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to