Class MojoExecutionScope
java.lang.Object
org.apache.maven.execution.scope.internal.MojoExecutionScope
- All Implemented Interfaces:
- com.google.inject.Scope,- Scope,- MojoExecutionListener
public class MojoExecutionScope
extends Object
implements com.google.inject.Scope, Scope, MojoExecutionListener
MojoExecutionScope
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidvoidvoidenter()voidexit()<T> com.google.inject.Provider<T> scope(com.google.inject.Key<T> key, com.google.inject.Provider<T> unscoped) <T> Supplier<T> scope(Key<T> key, Annotation scope, Supplier<T> unscoped) <T> void<T> voidstatic <T> com.google.inject.Provider<T> Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.inject.ScopetoString
- 
Constructor Details- 
MojoExecutionScopepublic MojoExecutionScope()
 
- 
- 
Method Details- 
enterpublic void enter()
- 
exit- Throws:
- MojoExecutionException
 
- 
seed
- 
seed
- 
scopepublic <T> com.google.inject.Provider<T> scope(com.google.inject.Key<T> key, com.google.inject.Provider<T> unscoped) - Specified by:
- scopein interface- com.google.inject.Scope
 
- 
scope
- 
seededKeyProviderpublic static <T> com.google.inject.Provider<T> seededKeyProvider()
- 
beforeMojoExecution- Specified by:
- beforeMojoExecutionin interface- MojoExecutionListener
- Throws:
- MojoExecutionException
 
- 
afterMojoExecutionSuccess- Specified by:
- afterMojoExecutionSuccessin interface- MojoExecutionListener
- Throws:
- MojoExecutionException
 
- 
afterExecutionFailure- Specified by:
- afterExecutionFailurein interface- MojoExecutionListener
 
 
-