Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for Injection (0.04 sec)

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

    @Documented
    public @interface Typed {
        /**
         * Specifies the types that should be considered for dependency injection.
         * <p>
         * When specified, only the listed types will be available for injection,
         * even if the class implements or extends other types. If empty, the
         * default behavior is to make all supertypes available for injection.
         * <p>
         * Example:
         * <pre>
         * {@literal @}Typed({Service.class, Monitored.class})
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/dependencies/index.md

    Она проектировалась таким образом, чтобы быть простой в использовании и облегчить любому разработчику интеграцию других компонентов с **FastAPI**.
    
    ## Что такое "Dependency Injection" (инъекция зависимости)
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 14.7K bytes
    - Viewed (1)
  3. docs/en/docs/tutorial/dependencies/index.md

    It is designed to be very simple to use, and to make it very easy for any developer to integrate other components with **FastAPI**.
    
    ## What is "Dependency Injection" { #what-is-dependency-injection }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. api/maven-api-di/src/main/java/org/apache/maven/api/di/package-info.java

     * <p>
     * Key features include:
     * <ul>
     *   <li>Constructor, method, and field injection</li>
     *   <li>Qualifiers for distinguishing between beans of the same type</li>
     *   <li>Multiple scopes (Singleton, Session, and MojoExecution)</li>
     *   <li>Priority-based implementation selection</li>
     *   <li>Type-safe dependency injection</li>
     * </ul>
     *
     * @since 4.0.0
     */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 896 bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/dependencies/index.md

    Es ist so konzipiert, sehr einfach zu verwenden zu sein und es jedem Entwickler sehr leicht zu machen, andere Komponenten mit **FastAPI** zu integrieren.
    
    ## Was ist „Dependency Injection
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. api/maven-api-di/src/main/java/org/apache/maven/api/di/Inject.java

    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Marks a dependency injection point for constructor, method, or field injection.
     * <p>
     * This annotation is used to identify injection points where the container should
     * provide an instance of the requested type. It can be applied to:
     * <ul>
     *   <li>Constructors</li>
     *   <li>Methods</li>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. 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
     */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/security/get-current-user.md

    ## Codegröße
    
    Dieses Beispiel mag ausführlich erscheinen. Bedenken Sie, dass wir Sicherheit, Datenmodelle, Hilfsfunktionen und *Pfadoperationen* in derselben Datei vermischen.
    
    Aber hier ist der entscheidende Punkt.
    
    Der Code für Sicherheit und Dependency Injection wird einmal geschrieben.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/get-current-user.md

    ## Code size { #code-size }
    
    This example might seem verbose. Keep in mind that we are mixing security, data models, utility functions and *path operations* in the same file.
    
    But here's the key point.
    
    The security and dependency injection stuff is written once.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

    import jakarta.annotation.PostConstruct;
    import jakarta.annotation.PreDestroy;
    import jakarta.annotation.Resource;
    
    /**
     * A container implementation that manages the lifecycle and dependency injection of components
     * in a crawler application. This container supports both singleton and prototype component
     * instantiation patterns.
     *
     * <p>The container provides mechanisms for:
     * <ul>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top