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

Ales Justin do-not-reply at jboss.com
Sun Apr 25 16:07:49 EDT 2010


Ales Justin [http://community.jboss.org/people/alesj] replied to the discussion

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

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

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

In your case, you should put in a canonical name into BMD.

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

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

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/20100425/62fd0c20/attachment.html 


More information about the jboss-user mailing list