Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 79 for getComponent (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/mylasta/FessActionDefTest.java

        //    public void test_component() throws Exception {
        //        policeStoryOfJavaClassChase(new ActionComponentPolice(tp -> getComponent(tp)));
        //    }
    
        // TODO
        //    public void test_hotDeployDestroyer() throws Exception {
        //        policeStoryOfJavaClassChase(new HotDeployDestroyerPolice(tp -> getComponent(tp)));
        //    }
    
        @Test
        public void test_nonActionExtendsAction() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/FessLastaDocTest.java

                final String className = clazz.getName();
                if (className.contains(appWebPkg) && className.endsWith(actionSuffix)) {
                    // ## Assert ##
                    markHere("exists");
                    getComponent(clazz); // expect no exception
                }
            });
            assertMarked("exists");
        }
        */
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            // Get existing component and update it instead of registering new one
            DynamicProperties existingProps = SingletonLaContainerFactory.getContainer().getComponent("systemProperties");
            existingProps.setProperty("ldap.security.principal", "******@****.***");
    
            assertEquals("@fess.codelibs.local", fessConfig.getLdapSecurityPrincipal(null));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  5. 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"));
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  6. 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);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  7. 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();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.5K bytes
    - Click Count (1)
  8. 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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25K bytes
    - Click Count (0)
  9. 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.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 29.3K bytes
    - Click Count (0)
  10. 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(() -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top