[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Indirect dependency names

adrian@jboss.org do-not-reply at jboss.com
Thu Apr 10 04:23:09 EDT 2008


There's an outstanding task to do the opposite.

i.e. internally the MC will use GUIDs to identify contexts with the
setName() just being processed as an alias. You can add aliases dynamically
(which is I think what you are trying to achieve with the name/id?).

If you're generating the BeanMetaData programmatically, 
there's no reason why couldn't do this yourself even before this change.

i.e.initially do
setName(new GUID().toString())
then later add the alias (your IdentityDependencyName)
to the context when you know what it is.


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

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



More information about the jboss-dev-forums mailing list