[jboss-dev-forums] [Design the new POJO MicroContainer] - Providing bean name aware feature

alesj do-not-reply at jboss.com
Thu Jul 12 08:15:06 EDT 2007


Regarding this issue:
 - http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063062#4063062

I'm thinking of adding name-method attribute to bean and beanfactory.
e.g.

  | <bean name="MyName" class="org.jboss.test.XBean" name-method="applyName" />
  | 
  | public class XBean
  | {
  |    ...
  | 
  |    public void applyName(String name)
  |    {
  |       ...
  | }
  | 

I'll apply the name in Configured state (ConfigureAction).

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

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



More information about the jboss-dev-forums mailing list