Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 593 for factory (0.11 seconds)

  1. src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java

        public DefaultCorsHandler() {
            super();
        }
    
        /**
         * Registers this CORS handler with the factory for configured allowed origins.
         * This method is automatically called after bean initialization.
         */
        @PostConstruct
        public void register() {
            final CorsHandlerFactory factory = ComponentUtil.getCorsHandlerFactory();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java

        }
    
        // Test register with null factory throws exception
        @Test
        public void test_register_nullFactory() {
            ComponentUtil.register(null, "scriptEngineFactory");
    
            try {
                testScriptEngine.register();
                fail("Should throw exception when factory is null");
            } catch (NullPointerException e) {
                // Expected exception
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/factory/DefaultArtifactFactoryTest.java

    class DefaultArtifactFactoryTest {
    
        @Inject
        ArtifactFactory factory;
    
        @Test
        void testPropagationOfSystemScopeRegardlessOfInheritedScope() {
            Artifact artifact = factory.createDependencyArtifact(
                    "test-grp", "test-artifact", VersionRange.createFromVersion("1.0"), "type", null, "system", "provided");
            Artifact artifact2 = factory.createDependencyArtifact(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

        return new NullRemovalListener<>();
      }
    
      /** Type-inferring factory method for creating a {@link QueuingRemovalListener}. */
      @J2ktIncompatible
      @GwtIncompatible // ConcurrentLinkedQueue
      static <K, V> QueuingRemovalListener<K, V> queuingRemovalListener() {
        return new QueuingRemovalListener<>();
      }
    
      /** Type-inferring factory method for creating a {@link CountingRemovalListener}. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/crawler/processor/FessResponseProcessor.java

        private static final Logger logger = LogManager.getLogger(FessResponseProcessor.class);
    
        /** Factory for creating and managing ingesters */
        private IngestFactory ingestFactory = null;
    
        /**
         * Initializes the processor after dependency injection.
         * Sets up the ingest factory if available in the component system.
         */
        @PostConstruct
        public void init() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  6. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

        val timeMs = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs)
        logger.log("[$timeMs ms] $message")
      }
    
      open class Factory
        @JvmOverloads
        constructor(
          private val logger: HttpLoggingInterceptor.Logger = HttpLoggingInterceptor.Logger.DEFAULT,
        ) : EventListener.Factory {
          override fun create(call: Call): EventListener = LoggingEventListener(logger)
        }
    
      companion object
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Oct 06 13:40:20 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/log/Logger.java

            /** Info */
            INFO,
            /** Warning */
            WARN,
            /** Error */
            ERROR,
            /** Fatal */
            FATAL,
        }
    
        /** Factory for LoggerAdapter */
        protected static final LoggerAdapterFactory factory = getLoggerAdapterFactory();
    
        /** Map of loggers keyed by class */
        protected static final Map<Class<?>, Logger> loggers = newHashMap();
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

        val request = Request(server.url("/"))
        val response = client.newCall(request).execute()
        response.body.close()
    
        // This client shares a connection pool but has a different SSL socket factory.
        val handshakeCertificates2 = HandshakeCertificates.Builder().build()
        val anotherClient =
          client
            .newBuilder()
            .sslSocketFactory(
              handshakeCertificates2.sslSocketFactory(),
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.3K bytes
    - Click Count (1)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/CycleDetectingLockFactoryBenchmark.java

    @NullUnmarked
    public class CycleDetectingLockFactoryBenchmark {
    
      @Param({"2", "3", "4", "5", "10"})
      int lockNestingDepth;
    
      CycleDetectingLockFactory factory;
      private Lock[] plainLocks;
      private Lock[] detectingLocks;
    
      @BeforeExperiment
      void setUp() throws Exception {
        this.factory = CycleDetectingLockFactory.newInstance(CycleDetectingLockFactory.Policies.WARN);
        this.plainLocks = new Lock[lockNestingDepth];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/AddressTest.kt

    import org.junit.jupiter.api.Test
    
    class AddressTest {
      private val factory =
        TestValueFactory().apply {
          uriHost = "example.com"
          uriPort = 80
        }
    
      @AfterEach fun tearDown() {
        factory.close()
      }
    
      @Test fun equalsAndHashcode() {
        val a = factory.newAddress()
        val b = factory.newAddress()
        assertThat(b).isEqualTo(a)
        assertThat(b.hashCode()).isEqualTo(a.hashCode())
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.8K bytes
    - Click Count (0)
Back to Top