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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...