- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for Injection (0.06 sec)
-
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) -
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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java
import jakarta.annotation.PostConstruct; import jakarta.annotation.PreDestroy; import jakarta.annotation.Resource; /** * A container implementation that manages the lifecycle and dependency injection of components * in a crawler application. This container supports both singleton and prototype component * instantiation patterns. * * <p>The container provides mechanisms for: * <ul>
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.3K bytes - Viewed (0) -
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) -
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.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.8K bytes - Viewed (0) -
docs/en/docs/alternatives.md
It achieves something somewhat similar to what can be done with Flask-apispec. It has an integrated dependency injection system, inspired by Angular 2. It requires pre-registering the "injectables" (like all the other dependency injection systems I know), so, it adds to the verbosity and code repetition.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 23.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessFileTransformer.java
super(); } /** Logger instance for this class */ private static final Logger logger = LogManager.getLogger(FessFileTransformer.class); /** * Initializes the transformer after dependency injection. * Sets up the Fess configuration and data serializer components. */ @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 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideCreator.java
} /** * Registers this creator with the dictionary manager upon initialization. * This method is annotated with {@link PostConstruct} to be executed after * dependency injection is complete. */ @PostConstruct public void register() { if (logger.isInfoEnabled()) { logger.info("Load {}", this.getClass().getSimpleName()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.6K bytes - Viewed (0) -
docs/en/docs/features.md
### Dependency Injection { #dependency-injection } FastAPI includes an extremely easy to use, but extremely powerful <abbr title='also known as "components", "resources", "services", "providers"'><strong>Dependency Injection</strong></abbr> system. * Even dependencies can have dependencies, creating a hierarchy or **"graph" of dependencies**.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/processor/FessResponseProcessor.java
/** Factory for creating and managing ingesters */ private IngestFactory ingestFactory = null; /** * Initializes the processor after dependency injection. * Sets up the ingest factory if available in the component system. */ @PostConstruct public void init() { if (ComponentUtil.hasIngestFactory()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.7K bytes - Viewed (0)