NavigationHandler getNavigationHandler(Class actionClass, NavigationHandlerInfo info)
{
NavigationHandlerFactory factory = info.getFactory();
Class type = info.getMethod().getReturnType();
NavigationHandler navigationHandler = factory.getNavigationHandler(actionClass.getName(), type);
// make sure that navigationHandler is not null
Assert.notNull(navigationHandler);
return navigationHandler;
}