- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 85 for get_component (0.29 sec)
-
src/main/java/org/codelibs/fess/util/ComponentUtil.java
if (name.endsWith(JOB_EXECUTOR_SUFFIX)) { return getComponent(name); } return getComponent("script" + JOB_EXECUTOR_SUFFIX); } /** * Gets the file type helper component. * @return The file type helper. */ public static FileTypeHelper getFileTypeHelper() { return getComponent(FILE_TYPE_HELPER); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 28.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ComponentUtilTest.java
ComponentUtil.register(comp2, "name2"); ComponentUtil.register(comp3, "name3"); assertEquals(comp1, ComponentUtil.getComponent("name1")); assertEquals(comp2, ComponentUtil.getComponent("name2")); assertEquals(comp3, ComponentUtil.getComponent("name3")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java
case WEB -> { final WebConfigService webConfigService = ComponentUtil.getComponent(WebConfigService.class); yield webConfigService.getWebConfig(id).get(); } case FILE -> { final FileConfigService fileConfigService = ComponentUtil.getComponent(FileConfigService.class); yield fileConfigService.getFileConfig(id).get();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/PurgeLogJob.java
final CrawlingInfoService crawlingInfoService = ComponentUtil.getComponent(CrawlingInfoService.class); final SearchLogService searchLogService = ComponentUtil.getComponent(SearchLogService.class); final JobLogService jobLogService = ComponentUtil.getComponent(JobLogService.class); final UserInfoService userInfoService = ComponentUtil.getComponent(UserInfoService.class);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java
final OpenSearchUrlFilterService urlFilterService = ComponentUtil.getComponent(OpenSearchUrlFilterService.class); final OpenSearchUrlQueueService urlQueueService = ComponentUtil.getComponent(OpenSearchUrlQueueService.class); final OpenSearchDataService dataService = ComponentUtil.getComponent(OpenSearchDataService.class); try { // clear url filter
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 24.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/JobHelper.java
} final FessConfig fessConfig = ComponentUtil.getFessConfig(); final CronParamsSupplier paramsOp = () -> { final Map<String, Object> params = new HashMap<>(); ComponentUtil.getComponent(ScheduledJobBhv.class) .selectByPK(scheduledJob.getId()) .ifPresent(e -> params.put(Constants.SCHEDULED_JOB, e)) .orElse(() -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchLogHelper.java
* Gets the click count for a URL. * * @param url The URL. * @return The click count. */ public int getClickCount(final String url) { final ClickLogBhv clickLogBhv = ComponentUtil.getComponent(ClickLogBhv.class); return clickLogBhv.selectCount(cb -> { cb.query().setUrl_Equal(url); }); } /** * Gets the favorite count for a URL. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 26.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
} finally { deleteTempFile(tempFile); } } private void importGsaXml(final String fileName, final File tempFile) { final GsaConfigParser configParser = ComponentUtil.getComponent(GsaConfigParser.class); try (final InputStream in = new FileInputStream(tempFile)) { configParser.parse(new InputSource(in)); } catch (final IOException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 29.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
return suggester; } /** * Stores search logs in the suggest index. */ public void storeSearchLog() { final SearchLogBhv searchLogBhv = ComponentUtil.getComponent(SearchLogBhv.class); searchLogBhv.selectBulk(cb -> { final String from = LocalDateTime.now().minusDays(fessConfig.getPurgeSuggestSearchLogDay()).format(DateTimeFormatter.ISO_DATE);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 22.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java
*/ public AzureAdUser(final IAuthenticationResult authResult) { this.authResult = authResult; final AzureAdAuthenticator authenticator = ComponentUtil.getComponent(AzureAdAuthenticator.class); authenticator.updateMemberOf(this); } @Override public String getName() { return authResult.account().username(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 28 09:13:08 UTC 2025 - 7.5K bytes - Viewed (0)