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&...]