[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Bean definition as value add problem (JBMICROCONT-28)

alesj do-not-reply at jboss.com
Fri Sep 1 06:42:58 EDT 2006


"adrian at jboss.org" wrote : 
  | Additionally, it should be possible to not have a name
  | for the internal bean which would translate
  | 

Where to set the name?

Since I only know in MetaDataVisitor.initialVisit() if BeanMetaData is a child MD (visitorStack is not empty) and what are its previous nodes.
But that is too 'late' - since I already need a name in AbstractKernelControllerContext instatiation.

I can set the name before - still in MD construction - but I would be unaware of parent-child relationship (also allowing null name on root bean) and property-parent_name (to create a meaningful name).

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

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



More information about the jboss-dev-forums mailing list