Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 47 for DiInjected (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Resolution.java

    /**
     * Indicates that a given field will be injected with the result of
     * a dependency collection or resolution request. Whether a collection
     * or resolution request is performed is controlled by the {@link #pathScope()}
     * field, the injected field type and the {@link #requestType()}.
     * <p>
     * If the {@code requestType} is not set explicitly, it will be inferred
     * from the {@code pathScope} and the injected field type. If the type
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Jun 11 07:23:04 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  2. impl/maven-core/src/site/apt/getting-to-container-configured-mojos.apt

      in terms of user-provided configuration from properties or the POM).
      If these mojos are to be first-class components, the configuration from these
      various sources must be consolidated and injected using the container.
    
      Currently, mojo configuration is done externally to the container, in the
      DefaultPluginManager in the maven-core API. In order to get from here to
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    
    class MavenLifecycleParticipantTest extends AbstractCoreMavenComponentTestCase {
    
        private static final String INJECTED_ARTIFACT_ID = "injected";
    
        public static class InjectDependencyLifecycleListener extends AbstractMavenLifecycleParticipant {
    
            @Override
            public void afterProjectsRead(MavenSession session) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java

     * </p>
     * <p>
     * The mojo class can also be injected with an {@link Execute} annotation to specify a
     * forked lifecycle.
     * </p>
     * <p>
     * The {@link Parameter} annotation can be added on fields to inject data
     * from the plugin configuration or from other components.
     * </p>
     * <p>
     * Fields can also be annotated with the {@link Resolution} annotation to be injected
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Aug 29 18:21:40 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/projects/lifecycle-listener/lifecycle-listener-dependency-injection/pom.xml

    <project>
      <modelVersion>4.0.0</modelVersion>
    
      <groupId>org.apache.maven.lifecycle-listener.test</groupId>
      <artifactId>simple</artifactId>
      <version>1.0</version>
    
      <properties>
        <foo>${injected}</foo>
      </properties>
    
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.its.plugins</groupId>
            <artifactId>maven-it-plugin</artifactId>
            <version>0.1</version>
            <executions>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 678 bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

        /** Injected search engine client for OpenSearch operations. */
        @Resource
        protected SearchEngineClient searchEngineClient;
    
        /** Injected helper for web and file system indexing operations. */
        @Resource
        protected WebFsIndexHelper webFsIndexHelper;
    
        /** Injected helper for data store indexing operations. */
        @Resource
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 31.4K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

                    if (annotation != null) {
                        final Object injected = container.getComponent(fieldDesc.getFieldName());
                        if (injected != null) {
                            FieldUtil.set(fieldDesc.getField(), component, injected);
                        }
                    }
                }
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  8. api/maven-api-di/src/main/java/org/apache/maven/api/di/package-info.java

     * for managing object lifecycle and dependencies within Maven's build process.
     * <p>
     * This package provides a set of annotations that control how objects are created,
     * managed and injected throughout Maven's execution lifecycle. The framework is designed
     * to be lightweight yet powerful, supporting various scopes of object lifecycle from
     * singleton instances to mojo-execution-scoped beans.
     * <p>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 896 bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/CompoundProjectExecutionListener.java

        private final Collection<ProjectExecutionListener> listeners;
    
        public CompoundProjectExecutionListener(Collection<ProjectExecutionListener> listeners) {
            this.listeners = listeners; // NB this is live injected collection
        }
    
        @Override
        public void beforeProjectExecution(ProjectExecutionEvent event) throws LifecycleExecutionException {
            for (ProjectExecutionListener listener : listeners) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  10. api/maven-api-di/src/main/java/org/apache/maven/api/di/Qualifier.java

     * Meta-annotation that marks other annotations as qualifier annotations.
     * <p>
     * Qualifiers are used to distinguish between multiple beans of the same type,
     * allowing for more precise control over which implementation should be injected.
     * Custom qualifier annotations should be annotated with {@code @Qualifier}.
     * <p>
     * Example of creating a custom qualifier:
     * <pre>
     * {@literal @}Qualifier
     * {@literal @}Retention(RUNTIME)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top