Community

controller.uninstall() fails when overriding the KernelControllerContext name

reply from Emanuel Muckenhuber in JBoss Microcontainer - View the full discussion

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

Start a new discussion in JBoss Microcontainer at Community