Class MojoExecutionScope
java.lang.Object
org.apache.maven.internal.impl.di.MojoExecutionScope
org.apache.maven.execution.scope.internal.MojoExecutionScope
- All Implemented Interfaces:
com.google.inject.Scope
,Scope
,MojoExecutionListener
public class MojoExecutionScope
extends MojoExecutionScope
implements com.google.inject.Scope, MojoExecutionListener
MojoExecutionScope
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.internal.impl.di.MojoExecutionScope
MojoExecutionScope.ScopeState
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
<T> com.google.inject.Provider
<T> scope
(com.google.inject.Key<T> key, com.google.inject.Provider<T> unscoped) <T> void
static <T> com.google.inject.Provider
<T> seededKeyProvider
(Class<? extends T> clazz) Methods inherited from class org.apache.maven.internal.impl.di.MojoExecutionScope
enter, exit, getScopeState, scope, seed, seed, seededKeySupplier
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.inject.Scope
toString
-
Constructor Details
-
MojoExecutionScope
public MojoExecutionScope()
-
-
Method Details
-
seed
-
scope
public <T> com.google.inject.Provider<T> scope(com.google.inject.Key<T> key, com.google.inject.Provider<T> unscoped) - Specified by:
scope
in interfacecom.google.inject.Scope
-
seededKeyProvider
-
beforeMojoExecution
- Specified by:
beforeMojoExecution
in interfaceMojoExecutionListener
- Throws:
MojoExecutionException
-
afterMojoExecutionSuccess
- Specified by:
afterMojoExecutionSuccess
in interfaceMojoExecutionListener
- Throws:
MojoExecutionException
-
afterExecutionFailure
- Specified by:
afterExecutionFailure
in interfaceMojoExecutionListener
-