[jboss-user] [JBoss Microcontainer] - controller.uninstall() fails when overriding the KernelControllerContext name

Emanuel Muckenhuber do-not-reply at jboss.com
Sat Apr 24 09:27:31 EDT 2010


Emanuel Muckenhuber [http://community.jboss.org/people/emuckenhuber] replied to the discussion

"controller.uninstall() fails when overriding the KernelControllerContext name"

To view the discussion, visit: http://community.jboss.org/message/539350#539350

--------------------------------------------------------------
> Ales Justin wrote:
> 
> Why don't you rather use alias then change original name in the middle of bean's lifecycle?
> Imo, the name should actually be made immutable, specially after the context is installed.
Well the thing is that i'm not changing the name during the lifecycle - it's the kernel InstallAction, which does that. I just override the original context name before i call install(), since BMD only allows Strings as a name.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/539350#539350]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100424/afad8ea5/attachment.html 


More information about the jboss-user mailing list