Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 291 for injection (0.05 seconds)

  1. api/maven-api-di/src/main/java/org/apache/maven/di/tool/package-info.java

     * specific language governing permissions and limitations
     * under the License.
     */
    
    /**
     * Provides tools for processing Maven dependency injection annotations at compile time.
     * <p>
     * This package contains annotation processors that generate metadata files used by
     * the Maven dependency injection system. The main component is the {@link org.apache.maven.di.tool.DiIndexProcessor},
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
  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
     */
    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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava/src/com/google/common/eventbus/package-info.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /**
     * {@linkplain EventBus Discouraged} in favor of dependency injection and concurrency frameworks,
     * EventBus allows publish-subscribe-style communication.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/EventBusExplained">{@code EventBus}</a>.
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 03 19:02:39 GMT 2025
    - 1K bytes
    - Click Count (0)
Back to Top