- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for getComponent (0.14 sec)
-
ComponentUtil.java
public static ViewHelper getViewHelper() { L267: return getComponent(VIEW_HELPER); L268: } L269: L270: public static SambaHelper getSambaHelper() { L271: return getComponent(SAMBA_HELPER); L272: } L273: L274: public static QueryHelper getQueryHelper() { L275: return getComponent(QUERY_HELPER); L276: } L277: L278: public static QueryFieldConfig getQueryFieldConfig() { L279: return getComponent(QUERY_FIELD_CONFIG); L280: } L281: L282: public static...github.com/codelibs/fess/src/main/java/org/code...Mon Jun 17 13:35:51 UTC 2024 20.2K bytes -
WebFsIndexHelper.java
} L480: L481: protected void deleteCrawlData(final String sid) { L482: final EsUrlFilterService urlFilterService = ComponentUtil.getComponent(EsUrlFilterService.class); L483: final EsUrlQueueService urlQueueService = ComponentUtil.getComponent(EsUrlQueueService.class); L484: final EsDataService dataService = ComponentUtil.getComponent(EsDataService.class); L485: L486: try { L487: // clear url filter L488: urlFilterService.delete(sid); L489: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 22.6K bytes -
SuggestHelper.java
initialize Suggester.", e); L128: } L129: } L130: L131: public Suggester suggester() { L132: return suggester; L133: } L134: L135: public void storeSearchLog() { L136: final SearchLogBhv searchLogBhv = ComponentUtil.getComponent(SearchLogBhv.class); L137: L138: searchLogBhv.selectBulk(cb -> { L139: final String from = LocalDateTime.now().minusDays(fessConfig.getPurgeSuggestSearchLogDay()).format(DateTimeFormatter.ISO_DATE); L140: cb.query(...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 18.1K bytes -
AdminBackupAction.java
L245: } finally { L246: deleteTempFile(tempFile); L247: } L248: } L249: L250: private void importGsaXml(final String fileName, final File tempFile) { L251: final GsaConfigParser configParser = ComponentUtil.getComponent(GsaConfigParser.class); L252: try (final InputStream in = new FileInputStream(tempFile)) { L253: configParser.parse(new InputSource(in)); L254: } catch (final IOException e) { L255: logger.warn("Failed to process...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:46 UTC 2024 28.5K bytes -
SearchLogHelper.java
public int getClickCount(final String url) { L220: final ClickLogBhv clickLogBhv = ComponentUtil.getComponent(ClickLogBhv.class); L221: return clickLogBhv.selectCount(cb -> { L222: cb.query().setUrl_Equal(url); L223: }); L224: } L225: L226: public long getFavoriteCount(final String url) { L227: final FavoriteLogBhv favoriteLogBhv = ComponentUtil.getComponent(FavoriteLogBhv.class); L228: return favoriteLogBhv.selectCount(cb -> { L229: cb.q...github.com/codelibs/fess/src/main/java/org/code...Mon Jul 22 02:07:37 UTC 2024 21.7K bytes -
FailureUrlService.java
crawlingConfig, final String errorName, final String url, final Throwable e) { L132: if (e instanceof ContainerNotAvailableException) { L133: return null; L134: } L135: L136: final FailureUrlBhv bhv = ComponentUtil.getComponent(FailureUrlBhv.class); L137: final FailureUrl failureUrl = bhv.selectEntity(cb -> { L138: cb.query().setUrl_Equal(url); L139: if (crawlingConfig != null) { L140: cb.query().setConfigId_Equal(crawlingC...github.com/codelibs/fess/src/main/java/org/code...Mon Jun 24 01:20:42 UTC 2024 6.3K bytes -
ResourceUtil.java
getPath("WEB-INF/", "env/" + envName, names); L144: } L145: L146: protected static Path getPath(final String root, final String base, final String... names) { L147: L148: try { L149: final ServletContext servletContext = ComponentUtil.getComponent(ServletContext.class); L150: final String webinfPath = servletContext.getRealPath("/" + root + base); L151: if (webinfPath != null && Files.exists(Paths.get(webinfPath))) { L152: return Paths.get(webinfPath,...github.com/codelibs/fess/src/main/java/org/code...Thu Oct 24 08:52:32 UTC 2024 7.5K bytes -
WebConfig.java
crawlerClientFactory; L153: } L154: final CrawlerClientFactory factory = creator.get(); L155: L156: final WebAuthenticationService webAuthenticationService = ComponentUtil.getComponent(WebAuthenticationService.class); L157: final RequestHeaderService requestHeaderService = ComponentUtil.getComponent(RequestHeaderService.class); L158: final FessConfig fessConfig = ComponentUtil.getFessConfig(); L159: L160: // HttpClient Parameters L161: final Map<String, Object>...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 9.8K bytes -
ThumbnailManager.java
}); L192: taskList.clear(); L193: if (logger.isDebugEnabled()) { L194: logger.debug("Storing {} thumbnail tasks.", list.size()); L195: } L196: final ThumbnailQueueBhv thumbnailQueueBhv = ComponentUtil.getComponent(ThumbnailQueueBhv.class); L197: thumbnailQueueBhv.batchInsert(list); L198: } L199: L200: public int generate(final ExecutorService executorService, final boolean cleanup) { L201: final FessConfig fessConfig = ComponentUtil.getFessConfig();...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 21.5K bytes -
ScoreBooster.java
requestCacheSize) { L81: flush(); L82: } L83: return (long) ids.length; L84: }; L85: L86: public abstract long process(); L87: L88: protected void enable() { L89: final ScoreUpdater scoreUpdater = ComponentUtil.getComponent("scoreUpdater"); L90: scoreUpdater.addScoreBooster(this); L91: } L92: L93: protected long updateScore(final Map<String, Object> params) { L94: return requestHandler.apply(params); L95: } L96: L97: protected UpdateRequestBuilder...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 5K bytes