Package org.apache.maven.impl.di
Class MojoExecutionScope
java.lang.Object
org.apache.maven.impl.di.MojoExecutionScope
- All Implemented Interfaces:
Scope
- Direct Known Subclasses:
MojoExecutionScope
MojoExecutionScope
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
enter()
void
exit()
protected MojoExecutionScope.ScopeState
<T> Supplier<T>
Scopes a supplier of instances.<T> void
<T> void
static <T> Supplier<T>
seededKeySupplier
(Class<? extends T> clazz)
-
Constructor Details
-
MojoExecutionScope
public MojoExecutionScope()
-
-
Method Details
-
seededKeySupplier
-
enter
public void enter() -
getScopeState
-
exit
public void exit() -
seed
-
seed
-
scope
Description copied from interface:Scope
Scopes a supplier of instances.This method wraps an unscoped instance supplier with scope-specific logic that controls when new instances are created versus when existing instances are reused.
-