[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Improving the process of applying AnnotationPlugins on M

alesj do-not-reply at jboss.com
Tue Apr 7 01:36:15 EDT 2009


"jason.greene at jboss.com" wrote : 
  | So why does it need to scan everything, if the MDR already knows how to fetch it lazily?
Fetch it how or what?

For each instance and its component (= member) the metadata can be different.
So, you need to explicitly ask for every component's metadata via its signature.

And afaik that's the only way you can get per instance metadata,
but you can prove me wrong. ;-)

WRT to over-abstracted crap ;-)
having a way to add annotations via xml is a nice feature (OK, Emmanuel would disagree :-)),
and @JMX is a perfect example of that.

Hence when we make an annotation lookup,
it should be done properly, taking those per instance annotations into an account.


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

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



More information about the jboss-dev-forums mailing list