Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 113 for getComponent (0.29 seconds)

  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. fess-crawler-lasta/src/main/java/org/codelibs/fess/crawler/container/LastaCrawlerContainer.java

         * Creates a new instance of LastaCrawlerContainer.
         */
        public LastaCrawlerContainer() {
            initialize();
        }
    
        @Override
        public <T> T getComponent(final String name) {
            return SingletonLaContainerFactory.getContainer().getComponent(name);
        }
    
        @Override
        public boolean available() {
            return SingletonLaContainerFactory.hasContainer();
        }
    
        @Override
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  3. 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)
  4. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                file.delete();
                file.mkdirs();
                file.deleteOnExit();
                fileTransformer.setPath(file.getAbsolutePath());
    
                final Crawler crawler1 = getComponent(Crawler.class);
                crawler1.setBackground(true);
                ((UrlFilterImpl) crawler1.urlFilter).setIncludeFilteringPattern("$1$2$3.*");
                crawler1.addUrl(url1);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 15 01:11:43 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. src/main/resources/fess_indices/fess_config.scheduled_job/scheduled_job.bulk

    {"index":{"_index":"fess_config.scheduled_job","_id":"log_purger"}}
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 5K bytes
    - Click Count (0)
  8. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/container/LastaCrawlerContainerTest.java

        }
    
        @Test
        public void test_getComponent_crawler() {
            final Crawler crawler = crawlerContainer.getComponent("crawler");
            assertNotNull(crawler);
        }
    
        @Test
        public void test_getComponent_dataService() {
            final DataService dataService = crawlerContainer.getComponent("dataService");
            assertNotNull(dataService);
        }
    
        @Test
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 16 13:52:11 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top