if (controller == null || method == null) return null;
String result = null;
try {
boolean beforeIsSuccess = true;
FilterManager filterManager = FilterManagerFactory.getInstance().getFilterManager(controller.getClass());
if (filterManager != null && !filterManager.noFilterDeclared()) {
result = filterManager.executeBeforeFiltersOn(method.getName());
if (result != null) beforeIsSuccess = false;
}
if (beforeIsSuccess) {
result = (String)method.invoke(controller, (Object[])null);
}
if (beforeIsSuccess && filterManager != null && !filterManager.noFilterDeclared()) {
String afResult = filterManager.executeAfterFiltersOn(method.getName());
if (afResult != null) {
result = afResult;
}
}
} catch (Exception ex) {