Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for get_component (0.18 sec)

  1. 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);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/JobHelper.java

            }
        }
    
        public boolean isAvailable(final String id) {
            return ComponentUtil.getComponent(ScheduledJobBhv.class).selectByPK(id).filter(e -> Boolean.TRUE.equals(e.getAvailable()))
                    .isPresent();
        }
    
        public void store(final JobLog jobLog) {
            ComponentUtil.getComponent(JobLogBhv.class).insertOrUpdate(jobLog, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/score/ScoreBooster.java

                flush();
            }
            return (long) ids.length;
        };
    
        public abstract long process();
    
        protected void enable() {
            final ScoreUpdater scoreUpdater = ComponentUtil.getComponent("scoreUpdater");
            scoreUpdater.addScoreBooster(this);
        }
    
        protected long updateScore(final Map<String, Object> params) {
            return requestHandler.apply(params);
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            return String.format("return container.getComponent(\"crawlJob\")" + ".logLevel(\"info\")" + ".sessionId(\"%s\")"
                    + ".webConfigIds([\"%s\"] as String[])" + ".jobExecutor(executor).execute();", webCofigId, webCofigId);
        }
    
        protected static String buildFileConfigJobScript(final String fileConfigId) {
            return String.format("return container.getComponent(\"crawlJob\")" + ".logLevel(\"info\")" + ".sessionId(\"%s\")"
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

        }
    
        public WebConfig getWebConfig() {
            if (webConfig == null) {
                final WebConfigService webConfigService = ComponentUtil.getComponent(WebConfigService.class);
                try {
                    webConfig = webConfigService.getWebConfig(getWebConfigId()).get();
                } catch (final Exception e) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

                        toAddresses = toStrs.split(",");
                    } else {
                        toAddresses = StringUtil.EMPTY_STRINGS;
                    }
                    final Postbox postbox = ComponentUtil.getComponent(Postbox.class);
                    try {
                        final NotificationHelper notificationHelper = ComponentUtil.getNotificationHelper();
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/Crawler.java

                logger.info("Destroyed LaContainer.");
            }
        }
    
        private static int process(final Options options) {
            final Crawler crawler = ComponentUtil.getComponent(Crawler.class);
    
            if (StringUtil.isBlank(options.sessionId)) {
                // use a default session id
                final SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.1K bytes
    - Viewed (2)
  8. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(RoleService.class).getRole(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
            return OptionalEntity.empty();
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

            final CrawlingConfig crawlingConfig = getCrawlingConfig(crawlerContext.getSessionId());
            final String url = urlQueue.getUrl();
    
            final FailureUrlService failureUrlService = ComponentUtil.getComponent(FailureUrlService.class);
            failureUrlService.store(crawlingConfig, errorName, url, e);
        }
    
        protected CrawlingConfig getCrawlingConfig(final String sessionCountId) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/ResourceUtil.java

        }
    
        protected static Path getPath(final String root, final String base, final String... names) {
    
            try {
                final ServletContext servletContext = ComponentUtil.getComponent(ServletContext.class);
                final String webinfPath = servletContext.getRealPath("/" + root + base);
                if ((webinfPath != null) && Files.exists(Paths.get(webinfPath))) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
Back to top