Plus this:
| public boolean resolveDependencies(Controller controller, ControllerState state)
| {
| boolean resolved = true;
| if (unresolved.isEmpty() == false)
| {
| for (DependencyItem item : unresolved)
| {
| if (state.equals(item.getWhenRequired()) &&
item.resolve(controller) == false)
| {
| resolved = false;
| break;
| }
| }
| }
| return resolved;
| }
|
btw: you can always check the code for more details ;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082234#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...