Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Component (0.03 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. 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)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/CrawlerContainer.java

    /**
     * The CrawlerContainer interface provides methods for managing components
     * within a crawler container. It includes methods to retrieve components,
     * check availability, and destroy the container. Additionally, it provides
     * a default method to initialize the container with specific protocol handlers.
     *
     */
    public interface CrawlerContainer {
    
        /**
         * Retrieves a component by its name.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/suggest/exception/SuggesterException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.exception;
    
    /**
     * This class represents a custom exception for the suggester component.
     * It extends the {@link RuntimeException} class and provides constructors
     * to create an exception instance with a message, a cause, or both.
     *
     * <p>Usage examples:</p>
     * <pre>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

         */
        public CrawlerClientFactory() {
            // NOP
        }
    
        /**
         * Initializes the CrawlerClientFactory.
         * Attempts to register itself with a "crawlerClientCreator" component if available.
         */
        @PostConstruct
        public void init() {
            try {
                final CrawlerClientCreator creator = crawlerContainer.getComponent("crawlerClientCreator");
                if (creator != null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessor.java

     * the parsing of the response body.
     * </p>
     */
    public class SitemapsResponseProcessor implements ResponseProcessor {
        /** The crawler container for component lookup. */
        @Resource
        protected CrawlerContainer crawlerContainer;
    
        /**
         * Creates a new SitemapsResponseProcessor instance.
         */
        public SitemapsResponseProcessor() {
            super();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

        }
    
        /**
         * Initializes this component.
         */
        @PostConstruct
        public void init() {
            if (tikaConfig == null && crawlerContainer != null) {
                try {
                    tikaConfig = crawlerContainer.getComponent("tikaConfig");
                } catch (final Exception e) {
                    logger.debug("tikaConfig component is not found.", e);
                }
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
Back to top