if (resultsByExtension == null) { resultsByExtension = loadResultTypes(configuration); }
    protected ActionConfig buildActionConfig(String path, String namespace, String actionName, ResultTypeConfig resultTypeConfig) {        if (resultsByExtension == null) {            resultsByExtension = loadResultTypes(configuration);        }        Map<String,ResultConfig> results = new HashMap<String,ResultConfig>();        HashMap params = new HashMap();        if (resultTypeConfig.getParams() != null) {            params.putAll(resultTypeConfig.getParams());        }        params.put(resultTypeConfig.getDefaultResultParam(), path);                PackageConfig pkg = configuration.getPackageConfig(defaultPackageName);        List interceptors = InterceptorBuilder.constructInterceptorReference(pkg, pkg.getFullDefaultInterceptorRef(),                 Collections.EMPTY_MAP, null, objectFactory);         ResultConfig config = new ResultConfig(Action.SUCCESS, resultTypeConfig.getClazz(), params);        results.put(Action.SUCCESS, config);        return new ActionConfig("execute", ActionSupport.class.getName(), defaultPackageName, new HashMap(), results, interceptors);    }