Re: Tapestry-IoC proxies

2010-01-06 Thread Thiago H. de Paula Figueiredo
Em Wed, 06 Jan 2010 01:47:14 -0200, Howard Lewis Ship escreveu: Possibly extending ServiceDef2 as ServiceDef3 which would add methods to give access to annotations would be a step in the right direction, I was thinking the same. That would solve a large number of scenarios. Nice! :) By the

Re: Tapestry-IoC proxies

2010-01-05 Thread Howard Lewis Ship
Possibly extending ServiceDef2 as ServiceDef3 which would add methods to give access to annotations would be a step in the right direction, though it may only be implementable in terms of standard services (those defined via the ServiceBinder). On Tue, Jan 5, 2010 at 5:17 PM, Thiago H. de Paula Fi

Re: Tapestry-IoC proxies

2010-01-05 Thread Thiago H. de Paula Figueiredo
Em Tue, 05 Jan 2010 14:42:48 -0200, Howard Lewis Ship escreveu: I'm cautious about extending the ClassFactory/ClassFab APIs to support this when my long term plan is to get away from Javassist entirely. Maybe we should create a service that centralizes all the proxy creation logic. Fur

Re: Tapestry-IoC proxies

2010-01-05 Thread Howard Lewis Ship
I'm cautious about extending the ClassFactory/ClassFab APIs to support this when my long term plan is to get away from Javassist entirely. Further, I'm not sure how this will go together, because at the time the IoC service proxy is created, the code does not necessarily know the class that will b

Re: Tapestry-IoC proxies

2010-01-04 Thread Igor Drobiazko
Check this out. http://www.csg.is.titech.ac.jp/~chiba/javassist/html/javassist/bytecode/AnnotationsAttribute.html On Tue, Jan 5, 2010 at 1:46 AM, Thiago H. de Paula Figueiredo < thi...@arsmachina.com.br> wrote: > Hi! > > I just had an urge to fix https://issues.apache.org/jira/browse/TAP5-335. >

Tapestry-IoC proxies

2010-01-04 Thread Thiago H. de Paula Figueiredo
Hi! I just had an urge to fix https://issues.apache.org/jira/browse/TAP5-335. My intention is to make the proxy methods have the same annotations as the original methods. Any advice? I'm trying to find some way to add annotations to a method in Javassist, but I'm still struggling. Any pointers?

Tapestry-IoC proxies

2010-01-04 Thread Thiago H. de Paula Figueiredo
Hi! I just had an urge to fix https://issues.apache.org/jira/browse/TAP5-335. My intention is to make the proxy methods have the same annotations as the original methods. Any advice? I'm trying to find some way to add annotations to a method in Javassist, but I'm still struggling. Any poi