Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for injecting (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. api/maven-api-di/pom.xml

        <artifactId>maven-api</artifactId>
        <version>4.1.0-SNAPSHOT</version>
      </parent>
    
      <artifactId>maven-api-di</artifactId>
      <name>Maven 4 API :: Dependency Injection</name>
      <description>Maven 4 API - Dependency Injection</description>
    
      <properties>
        <maven.compiler.proc>none</maven.compiler.proc>
      </properties>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Jun 29 22:37:39 UTC 2025
    - 1.4K bytes
    - Viewed (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()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top