[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Adding annotations to MDR via bean metadata

kabir.khan@jboss.com do-not-reply at jboss.com
Tue Aug 18 13:33:25 EDT 2009


While on this topic, should we support metadata annotations for methods as well? I think we should be able to do things like (using metadata) since @Initializer methods are web beans injection points just like constructors and properties:


  | class Bean
  | {
  |    @Initializer
  |    public void init(@Current Thing t, @Current Other o)
  |    {
  | 
  |    }
  | }
  | 

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

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



More information about the jboss-dev-forums mailing list