Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 199 for injecting (0.06 seconds)

  1. api/maven-api-di/src/main/java/org/apache/maven/api/di/Priority.java

     * of the same type are available.
     * <p>
     * Higher values indicate higher priority. When multiple implementations of the same
     * type exist, the one with the highest priority will be selected for injection.
     * <p>
     * Example usage:
     * <pre>
     * {@literal @}Priority(100)
     * public class PreferredImplementation implements Service {
     *     // Implementation
     * }
     * </pre>
     *
     * @since 4.0.0
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactory.java

    /**
     * A factory to create settings builder instances when no dependency injection is available. Note: This class
     * is only meant as a utility for developers that want to employ the settings builder outside of the Maven build system,
     * Maven plugins should always acquire settings builder instances via dependency injection. Developers might want to
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. CLAUDE.md

    ## Important Patterns for AI Assistants
    
    ### Do's
    1. Use `@Resource` for field injection (not constructor injection)
    2. Access helpers via `ComponentUtil.getXyzHelper()`
    3. Use `OptionalEntity<T>` for nullable entity returns
    4. Use DBFlute behavior classes (Bhv) for data access
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 09:48:10 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

            allowEmptyPermission.set(false);
            assertTrue(ldapManager.allowEmptyGroupAndRole(user));
        }
    
        // ========================================================================
        // Tests for LDAP Injection Prevention
        // ========================================================================
    
        @Test
        public void test_escapeLDAPSearchFilter_withNull() {
            LdapManager ldapManager = new LdapManager();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  5. tests/test_response_dependency.py

    """Test using special types (Response, Request, BackgroundTasks) as dependency annotations.
    
    These tests verify that special FastAPI types can be used with Depends() annotations
    and that the dependency injection system properly handles them.
    """
    
    from typing import Annotated
    
    from fastapi import BackgroundTasks, Depends, FastAPI, Request, Response
    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:23:16 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  6. api/maven-api-di/src/main/java/org/apache/maven/api/di/Provides.java

    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Marks a method as a provider of beans for dependency injection.
     * <p>
     * This annotation can be used on static methods to programmatically create and configure
     * beans that will be managed by the dependency injection container. It's particularly
     * useful when the bean creation requires complex logic or when the bean needs to be
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/dependencies/index.md

    Il est conçu pour être très simple à utiliser, et pour faciliter l’intégration d’autres composants à **FastAPI** pour n’importe quel développeur.
    
    ## Qu’est-ce que « l’injection de dépendances » { #what-is-dependency-injection }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  8. architecture/README.md

    Each process, or "runtime", applies different constraints to the code that runs in that process.
    For example, each process has different supported JVMs and a different set of services available for dependency injection.
    While a lot of Gradle source code runs only in the Gradle daemon, not all of it does so.
    When working on some source code it is important to be aware of the runtimes in which it will run, so that you don't break these constraints.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jun 12 09:50:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/background-tasks.md

    * Any keyword arguments that should be passed to the task function (`message="some notification"`).
    
    ## Dependency Injection { #dependency-injection }
    
    Using `BackgroundTasks` also works with the dependency injection system, you can declare a parameter of type `BackgroundTasks` at multiple levels: in a *path operation function*, in a dependency (dependable), in a sub-dependency, etc.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

         */
        public RelatedQueryHelper() {
            super();
        }
    
        /**
         * Initializes the RelatedQueryHelper after dependency injection is complete.
         * This method is called automatically by the dependency injection framework
         * and loads the initial related query configurations.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top