Great, this is very useful.
At one stage, Pete and I talked about implementing the whole XML
facility this way: it would just generate subclasses of the bean
classes, with the annotations added in. But I don't think this
approach works for:
* final classes and methods
* fields
So I think we're going to need my AnnotationTypeWrapper classes. I'll
try to find time to work on them tomorrow, but I might have to wait
til Monday.
On Sat, Nov 21, 2009 at 7:45 PM, Stuart Douglas
<stuart(a)baileyroberts.com.au> wrote:
I just posted the code in the forum in anyone is interested. IT has
only been lightly tested inside weld-se, so there may still be bugs.
Stuart
________________________________________
From: Gavin King [gavin.king(a)gmail.com]
Sent: Sunday, 22 November 2009 11:39 AM
To: Stuart Douglas
Cc: seam-dev(a)lists.jboss.org
Subject: Re: [seam-dev] Next steps
On Sat, Nov 21, 2009 at 7:36 PM, Stuart Douglas
<stuart(a)baileyroberts.com.au> wrote:
> I have been playing around with the first bit this weekend, and I have created a
helper class
> that can generate AnnotationLiteral<T> at runtime (using javassist), which will
be necessary
> for qualifiers that are specified via xml. I will try and get on IRC a bit in the
next few days, to
> talk about this more.
Ahyes, that's a problem I had not really thought about...
--
Gavin King
gavin.king(a)gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org
--
Gavin King
gavin.king(a)gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org