[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: ControllerStates helper/util
adrian@jboss.org
do-not-reply at jboss.com
Tue Apr 8 06:04:29 EDT 2008
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#4142305
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142305
More information about the jboss-dev-forums
mailing list