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 be instantiated (especially if the service is
constructed using a build method, rather than via bind).

To be honest, I'd rather see an API to expose class and method
annotations on the core service implementation to advisors &
decorators.  And even that will have issues for the perthread
lifecycle (where the core service implementation is itself a proxy).

On Mon, Jan 4, 2010 at 10:40 PM, Igor Drobiazko
<[email protected]> wrote:
> 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 <
> [email protected]> wrote:
>
>> 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?
>>
>> --
>> Thiago H. de Paula Figueiredo
>> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
>> and instructor
>> Owner, software architect and developer, Ars Machina Tecnologia da
>> Informação Ltda.
>> http://www.arsmachina.com.br
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
>
> --
> Best regards,
>
> Igor Drobiazko
> http://tapestry5.de/blog
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to