- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 245 for injection (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
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) -
src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
// Normal username assertEquals("cn=admin,dc=example,dc=com", fessConfig.getLdapSecurityPrincipal("admin")); // Asterisk injection attempt assertEquals("cn=admin\\2a,dc=example,dc=com", fessConfig.getLdapSecurityPrincipal("admin*")); // Parentheses injection attempt assertEquals("cn=admin\\29\\28cn=\\2a,dc=example,dc=com", fessConfig.getLdapSecurityPrincipal("admin)(cn=*")); // BackslashCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 25.4K bytes - Click Count (0) -
docs/ja/docs/tutorial/dependencies/index.md
**FastAPI** は非常に強力でありながら直感的な **<dfn title="別名: コンポーネント、リソース、プロバイダ、サービス、インジェクタブル">依存性注入</dfn>** システムを持っています。 それは非常にシンプルに使用できるように設計されており、開発者が他のコンポーネント **FastAPI** と統合するのが非常に簡単になるように設計されています。 ## 「Dependency Injection」とは { #what-is-dependency-injection } **「Dependency Injection」** とは、プログラミングにおいて、コード(この場合は、*path operation 関数*)が動作したり使用したりするために必要なもの(「依存関係」)を宣言する方法があることを意味します: そして、そのシステム(この場合は、**FastAPI**)は、必要な依存関係をコードに提供するために必要なことは何でも行います(依存関係を「注入」します)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 11.9K 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)