Re: [proxy] Proxy & Generics...

2008-04-07 Thread James Carman
On Mon, Apr 7, 2008 at 2:33 PM, Paul Cowan <[EMAIL PROTECTED]> wrote: > Hi James, > > > James Carman wrote: > > > public Object createDelegatorProxy( ObjectProvider delegateProvider, > > Class... proxyClasses ); > > > > However, I also want to add in a nice helper method like this: > > > > public

Re: [proxy] Proxy & Generics...

2008-04-07 Thread Paul Cowan
Hi James, James Carman wrote: public Object createDelegatorProxy( ObjectProvider delegateProvider, Class... proxyClasses ); However, I also want to add in a nice helper method like this: public T createDelegatorProxy( ObjectProvider delegateProvider, Class proxyClass ); I'm not overly famil

[proxy] Proxy & Generics...

2008-04-06 Thread James Carman
I have created a branch to start working on a genericized Proxy API. However, I'm running into an issue that I'm not quite sure how I should deal with. I want to make the methods on ProxyFactory use the varargs language feature. For example: public Object createDelegatorProxy( ObjectProvider del