"kabir.khan(a)jboss.com" wrote : Similarly, it also seems like INSTALLED is taken
to always be the final state, e.g.
|
| | public ControllerContext getInstalledContext(Object name)
| | {
| | return getContext(name, ControllerState.INSTALLED);
| | }
| |
| Since INSTALLED has special meaning, if there are states beyond INSTALLED, contexts in
those states would not be reported as being installed. Should I enforce that INSTALLED is
the final state?
Actually they are reported, see AbstractController::getContext
| ControllerContext result = getRegisteredControllerContext(name, false);
| if (result != null && state != null &&
isBeforeState(result.getState(), state))
| {
| return null;
| }
|
But AbstractKernelController::getContext could be fixed to apply this the same way.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263047#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...