- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 140 for injection (0.07 seconds)
-
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})Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 2.5K bytes - Click Count (0) -
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 }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapUtilTest.java
} @Test public void test_escapeValue_mixedSpecialChars() { // Test LDAP injection attempt: admin* assertEquals("admin\\2a", LdapUtil.escapeValue("admin*")); // Test LDAP injection attempt: )(cn=* assertEquals("\\29\\28cn=\\2a", LdapUtil.escapeValue(")(cn=*")); // Test LDAP injection attempt: *)(uid=*))(|(uid=*Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 4.4K bytes - Click Count (0) -
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 */
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jan 10 05:49:06 GMT 2026 - 1.7K bytes - Click Count (0) -
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>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 1.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/LifecycleBindingsInjector.java
package org.apache.maven.model.plugin; import org.apache.maven.model.Model; import org.apache.maven.model.building.ModelBuildingRequest; import org.apache.maven.model.building.ModelProblemCollector; /** * Handles injection of plugin executions induced by the lifecycle bindings for a packaging. * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0")Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2K bytes - Click Count (0) -
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.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 4K bytes - Click Count (0) -
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>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Jun 29 22:37:39 GMT 2025 - 1.4K bytes - Click Count (0) -
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) -
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)