Community

controller.uninstall() fails when overriding the KernelControllerContext name

reply from Ales Justin in JBoss Microcontainer - View the full discussion
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

Start a new discussion in JBoss Microcontainer at Community