[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Annotation processing

alesj do-not-reply at jboss.com
Wed Aug 29 10:55:14 EDT 2007


"adrian at jboss.org" wrote : 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. :-)
  | 
I'll have a look.
Since I still have to add javadocs and definitely improve logging.
But using debugger sounds like fun. :-)

"adrian at jboss.org" wrote : 
  | 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.
  | 
MetaData has all the required functionality - as MetaDataRetrieval?

Scoping as in PreInstall stuff that we did?

"adrian at jboss.org" wrote : 
  | 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.
  | 
Once I'm done, I'll try to remove it.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079218#4079218

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079218



More information about the jboss-dev-forums mailing list