Class SessionScope
java.lang.Object
org.apache.maven.impl.di.SessionScope
- All Implemented Interfaces:
Scope
- Direct Known Subclasses:
SessionScope
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classA provider wrapping an existing provider with a cacheprotected static final classScopeState -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> TcreateProxy(Key<T> key, Supplier<T> unscoped) protected <T> Objectvoidenter()voidexit()protected Class<?>[]getInterfaces(Class<?> superType) protected SessionScope.ScopeStateprotected booleanisTypeAnnotation(Class<? extends Annotation> annotationType) <T> Supplier<T> Scopes a supplier of instances.<T> void<T> voidstatic <T> Supplier<T> seededKeySupplier(Class<? extends T> clazz)
-
Field Details
-
values
-
-
Constructor Details
-
SessionScope
public SessionScope()
-
-
Method Details
-
enter
public void enter() -
getScopeState
-
exit
public void exit() -
seed
-
seed
-
scope
Description copied from interface:ScopeScopes 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.
-
createProxy
-
dispatch
-
getInterfaces
-
isTypeAnnotation
-
seededKeySupplier
-