No. If you're going to make it part of the spi, then make it usuable and future
proof.
e.g.
| public interface Controller
| {
| ControllerState getPreviousState(ControllerState state);
| ControllerState getNextState(ControllerState state);
| boolean isAfterState(ControllerState state, ControllerState reference);
| }
|
The array/index is just an implementation detail. Don't expose implementation
details!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142305#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...