"johnbailey" wrote : Are the following resonable?
|
| | ControllerState controllerState = getControllerContext().getState();
| | if (ControllerState.ERROR.equals(controllerState))
| | {
| | bundleState = Bundle.INSTALLED; // Seems strange, but see javadoc
| | }
| |
|
Can you post javadoc?
Not that I don't trust you, but just lazy to do own lookup. ;-)
Other look OK.
And since the controller states to bundle states mapping is 'growing function',
you can do a simple function which will determine bundle state according to the controller
state index value.
Hence not needing that List impl that I proposed earlier.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131901#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...