Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for injection (0.12 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/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)
  7. 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)
  8. 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()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. 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
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. 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)
Back to top