Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for components (0.28 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            TestComponent component = factory.create();
            assertNotNull(component);
            assertEquals(1, component.getId());
    
            TestComponent component2 = factory.create();
            assertNotNull(component2);
            assertEquals(2, component2.getId());
    
            // Different instances for prototype
            assertNotSame(component, component2);
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. README.md

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN"
        "http://dbflute.org/meta/lastadi10.dtd">
    <components namespace="fessCrawler">
        <component name="crawler" class="org.codelibs.fess.crawler.Crawler" instance="prototype"/>
        <component name="httpClient" class="org.codelibs.fess.crawler.client.http.HcHttpClient" instance="singleton"/>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

             */
            void onDestroy(PooledObject<T> p);
        }
    
        /**
         * Gets the component name.
         * @return The component name
         */
        public String getComponentName() {
            return componentName;
        }
    
        /**
         * Sets the component name.
         * @param componentName The component name to set
         */
        public void setComponentName(final String componentName) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractor.java

    /**
     * An abstract base class for implementing Extractor interfaces.
     * Provides common functionality such as access to CrawlerContainer components
     * and registration with the ExtractorFactory.
     *
     * <p>
     * This class handles the retrieval of essential crawler components like
     * {@link MimeTypeHelper} and {@link ExtractorFactory} from the
     * {@link CrawlerContainer}. It also provides a convenient method for
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

                clientFactoryList.remove(0);
            }
        }
    
        /**
         * Registers a client component with a regular expression.
         * The component will be loaded into all registered CrawlerClientFactories.
         * @param regex The regular expression to match URLs.
         * @param componentName The name of the component to register.
         */
        public synchronized void register(final String regex, final String componentName) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

        }
    
        /**
         * Registers a prototype component with the specified name, class, and initializer.
         * A new instance will be created each time the component is requested.
         * @param <T> the type of the component
         * @param name the name of the component
         * @param cls the class of the component
         * @param component the initializer consumer for the component
         * @return this container instance for method chaining
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

     * result and storing it. Unsuccessful responses are logged for debugging purposes.
     * </p>
     *
     * <p>
     * The class uses {@link CrawlerContainer} to access components like {@link AccessResult}
     * and {@link UrlQueue}. It also uses {@link CrawlingParameterUtil} to access services
     * like {@link UrlQueueService} and DataService, as well as the {@link CrawlerContext}.
     * </p>
     *
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

     *
     * <p>It implements the Runnable interface to be executed in a separate thread,
     * and the AutoCloseable interface to ensure resources are properly released after use.
     *
     * <p>The crawler uses several services and components, such as UrlQueueService, DataService,
     * UrlFilter, RuleManager, CrawlerContainer, IntervalController, and CrawlerClientFactory,
     * to perform its tasks.
     *
     * <p>The crawling process involves the following steps:
     * <ol>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

     * <p>
     * The class uses a {@link CrawlerContainer} for managing crawler components and
     * supports dependency injection via the {@link Resource} annotation.
     * </p>
     */
    public class ExtractorFactory {
    
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(ExtractorFactory.class);
    
        /** Container for managing crawler components */
        @Resource
        protected CrawlerContainer crawlerContainer;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

        private UrlFilter urlFilter;
        private StandardCrawlerContainer container;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            // Initialize container with necessary components
            container = new StandardCrawlerContainer().singleton("dataHelper", MemoryDataHelper.class)
                    .singleton("urlFilterService", UrlFilterServiceImpl.class)
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
Back to top