/** * Plugs the store into the search path * * @param store store * @param searchPath search path * @param prepend whether to prepend or not */ protected void plugin(Store store, SearchPath searchPath, boolean prepend) { // prepend to the front ArrayList<Store> storeList = new ArrayList(searchPath.getStoresInternal()); if (prepend) { storeList.add(0, store); } else { storeList.add(store); } searchPath.setSearchPath(storeList); } }
/** * Plugs the store into the search path * * @param store store * @param searchPath search path * @param prepend whether to prepend or not */ protected void plugin(Store store, SearchPath searchPath, boolean prepend) { // prepend to the front ArrayList<Store> storeList = new ArrayList(searchPath.getStoresInternal()); if (prepend) { storeList.add(0, store); } else { storeList.add(store); } searchPath.setSearchPath(storeList); } }
/** * Plugs the store into the search path * * @param store store * @param searchPath search path * @param prepend whether to prepend or not */ protected void plugin(Store store, SearchPath searchPath, boolean prepend) { // prepend to the front ArrayList<Store> storeList = new ArrayList(searchPath.getStoresInternal()); if (prepend) { storeList.add(0, store); } else { storeList.add(store); } searchPath.setSearchPath(storeList); } }
this.webScriptsSearchPath.setSearchPath(this.commonWebScriptPaths); this.templatesSearchPath.setSearchPath(this.commonTemplatePaths);
this.webScriptsSearchPath.setSearchPath(this.commonWebScriptPaths); this.templatesSearchPath.setSearchPath(this.commonTemplatePaths);