[jboss-user] [JBoss Microcontainer] - controller.uninstall() fails when overriding the KernelControllerContext name
Emanuel Muckenhuber
do-not-reply at jboss.com
Mon Apr 26 07:09:20 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/539492#539492
--------------------------------------------------------------
> Ales Justin wrote:
>
> OK, I see a bit of inconsistency there -- since we only allow BMD for KernelContextController,we should make sure setName throws some exception or lists a warning that setName is ignored.
Hmm, wouldn't it make more sense to use the context name instead of the BMD to register the context in the InstallAction? I mean the only reason i was using setName() was to not use the name defined in the BMD - since it only allows a String.
Now i'm just using a hash for the context name and add aliases - so not allowing to override the ctx name would work for me as well.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/539492#539492]
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/20100426/16a33647/attachment.html
More information about the jboss-user
mailing list