Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getComponent (0.06 sec)

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. LabelTypeHelper.java

    )) { L52: logger.debug("Initialize {}", this.getClass().getSimpleName()); L53: } L54: load(); L55: } L56: L57: @Override L58: public int load() { L59: final List<LabelType> labelTypeList = ComponentUtil.getComponent(LabelTypeService.class).getLabelTypeList(); L60: buildLabelTypeItems(labelTypeList); L61: buildLabelTypePatternList(labelTypeList); L62: return labelTypeList.size(); L63: } L64: L65: public void refresh(final List<LabelType>...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:20:39 UTC 2024
      11.7K bytes
  7. GenerateThumbnailJob.java

    protected void executeThumbnailGenerator() { L89: final List<String> cmdList = new ArrayList<>(); L90: final String cpSeparator = SystemUtils.IS_OS_WINDOWS ? ";" : ":"; L91: final ServletContext servletContext = ComponentUtil.getComponent(ServletContext.class); L92: final ProcessHelper processHelper = ComponentUtil.getProcessHelper(); L93: final FessConfig fessConfig = ComponentUtil.getFessConfig(); L94: L95: cmdList.add(fessConfig.getJavaCommandPath()); L96:...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:20:39 UTC 2024
      10.6K bytes
  8. Crawler.java

    SingletonLaContainerFactory.destroy(); L313: logger.info("Destroyed LaContainer."); L314: } L315: } L316: L317: private static int process(final Options options) { L318: final Crawler crawler = ComponentUtil.getComponent(Crawler.class); L319: L320: if (StringUtil.isBlank(options.sessionId)) { L321: // use a default session id L322: final SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss"); L323: options.sessionId...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:20:39 UTC 2024
      24K bytes
  9. ViewHelper.java

    y(); L177: for (final int v : fessConfig.getQueryHighlightTerminalCharsAsArray()) { L178: highlightTerminalCharSet.add(v); L179: } L180: try { L181: final ServletContext servletContext = ComponentUtil.getComponent(ServletContext.class); L182: servletContext.setSessionTrackingModes( L183: fessConfig.getSessionTrackingModesAsSet().stream().map(SessionTrackingMode::valueOf).collect(Collectors.toSet())); L184: } catch (final...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:20:39 UTC 2024
      40.2K bytes
  10. AdminSchedulerAction.java

    ame); L355: entity.setCreatedTime(currentTime); L356: return entity; L357: }); L358: case CrudMode.EDIT: L359: if (form instanceof EditForm) { L360: return ComponentUtil.getComponent(ScheduledJobService.class).getScheduledJob(((EditForm) form).id); L361: } L362: break; L363: default: L364: break; L365: } L366: return OptionalEntity.empty(); L367: } L368: L369: public...
    github.com/codelibs/fess/src/main/java/org/code...
    Sat Oct 12 01:54:46 UTC 2024
      18.1K bytes
Back to top