[jboss-dev-forums] [Design the new POJO MicroContainer] - Annotation processing
adrian@jboss.org
do-not-reply at jboss.com
Wed Aug 29 10:46:39 EDT 2007
While I was doing the scoping changes I broke the annotation processing
and then had no idea what was going on.
This processing has no error messages so you can't understand it
if it doesn't work as you expect.
I added some simple trace logging so you can at least debug which
annotations are (not) being applied without having to attach a debugger. :-)
Also the BasicBeanAdapter and related classes need fixing such that they use the
MetaData not the MetaDataRetrieval.
The same is true of its usage in the Scoping.
In fact, the getMetaDataRetrieval() on the kernel repository should be removed.
It's only real use at the moment is in AOP to find out if there are instance annotations.
That processing is wrong anyway. There should be a
MetaData.hasInstanceMetaData()
instead.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079208#4079208
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079208
More information about the jboss-dev-forums
mailing list