resultsByExtension = new LinkedHashMap<String,ResultTypeConfig>(); PackageConfig parentPackage = configuration.getPackageConfig(defaultPackageName); Map<String,ResultTypeConfig> results = parentPackage.getAllResultTypeConfigs();  resultsByExtension.put("jsp", results.get("dispatcher")); resultsByExtension.put("vm", results.get("velocity")); resultsByExtension.put("ftl", results.get("freemarker"));
    public void setConfiguration(Configuration config) {        this.configuration = config;    }