- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for getAllServices (0.05 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java
/** * This implementation of {@code ArtifactManager} is explicitly bound to * both {@code ArtifactManager} and {@code Service} interfaces so that it can be retrieved using * {@link InternalSession#getAllServices()}. */ @Named @Typed({ArtifactManager.class, Service.class}) @SessionScoped public class DefaultArtifactManager implements ArtifactManager { @Nonnull private final InternalMavenSession session;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 16:01:38 GMT 2025 - 4.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java
// For Maven 4 plugins, register a service so that they can be directly injected into plugins Map<Class<? extends Service>, Supplier<? extends Service>> services = sessionV4.getAllServices(); services.forEach((itf, svc) -> scope.seed((Class<Service>) itf, (Supplier<Service>) svc)); org.apache.maven.api.plugin.Mojo mojoV4 = mavenPluginManager.getConfiguredMojo(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 16:01:38 GMT 2025 - 11.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
/** * This implementation of {@code ProjectManager} is explicitly bound to * both {@code ProjectManager} and {@code Service} interfaces so that it can be retrieved using * {@link InternalSession#getAllServices()}. */ @Named @Typed({ProjectManager.class, Service.class}) @SessionScoped public class DefaultProjectManager implements ProjectManager { private final InternalMavenSession session;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 17 16:17:01 GMT 2025 - 10.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
injector.bindInstance(org.apache.maven.api.plugin.Log.class, log); Map<Class<? extends Service>, Supplier<? extends Service>> services = sessionV4.getAllServices(); services.forEach((itf, svc) -> injector.bindSupplier((Class<Service>) itf, (Supplier<Service>) svc)); mojo = mojoInterface.cast(injector.getInstance(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 09 16:35:21 GMT 2025 - 46.4K bytes - Click Count (0)