public boolean resolveDependencies(Controller controller, ControllerState state) { return delegate.resolveDependencies(controller, state); }
/** * See if the context has its dependencies resolved to move to the given state. * <p/> * This method must be invoked with the write lock taken * * @param ctx The context * @param state The state we want to move to * @return true if the dependencies are resolved */ private boolean resolveDependencies(ControllerContext ctx, ControllerState state) { DependencyInfo dependencies = ctx.getDependencyInfo(); return dependencies == null || dependencies.resolveDependencies(this, state); }