[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Bean instantiate order with contextual injection

adrian@jboss.org do-not-reply at jboss.com
Mon Aug 14 10:29:39 EDT 2006


"alesj" wrote : 
  | But what about actual @Inject in class annotation?
  | Where to look/inspect class for them - to add dependency 'demand' items - how to get bean class from AbstractDependencyValueMetaData?
  | 
  | ...
  | 
  | How to add specific code about @Inject annotation into AnnotationMetaData.visit() - through children?
  | 

I don't understand either of these questions.

Why would you be looking up the @Inject from the 
AbstractDependencyValueMetaData (ADVM)?
It is a property of the class/method.

AnnotationMetaData.visit() is used to process

  | <bean>
  |    <annotation>...
  | 

Which AFAIK, (Kabir may know better) isn't properly integrated
except when AOP is used. i.e. The Bean/ClassInfo is not updated
with the annotation overrides.

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

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



More information about the jboss-dev-forums mailing list