Class RealLifecycleManager
- java.lang.Object
-
- de.quantummaid.injectmaid.lifecyclemanagement.RealLifecycleManager
-
- All Implemented Interfaces:
LifecycleManager
public final class RealLifecycleManager extends Object implements LifecycleManager
-
-
Constructor Summary
Constructors Constructor Description RealLifecycleManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LifecycleManagerchild()voidcloseAll(List<ExceptionDuringClose> exceptions)LifecycleManagernewInstance(de.quantummaid.reflectmaid.typescanner.scopes.Scope scope)static LifecycleManagerrealLifecycleManager(Closers closers, de.quantummaid.reflectmaid.typescanner.scopes.Scope scope)voidregisterInstance(Object instance, de.quantummaid.reflectmaid.typescanner.scopes.Scope scope)
-
-
-
Method Detail
-
realLifecycleManager
public static LifecycleManager realLifecycleManager(Closers closers, de.quantummaid.reflectmaid.typescanner.scopes.Scope scope)
-
newInstance
public LifecycleManager newInstance(de.quantummaid.reflectmaid.typescanner.scopes.Scope scope)
- Specified by:
newInstancein interfaceLifecycleManager
-
registerInstance
public void registerInstance(Object instance, de.quantummaid.reflectmaid.typescanner.scopes.Scope scope)
- Specified by:
registerInstancein interfaceLifecycleManager
-
closeAll
public void closeAll(List<ExceptionDuringClose> exceptions)
- Specified by:
closeAllin interfaceLifecycleManager
-
child
public LifecycleManager child()
- Specified by:
childin interfaceLifecycleManager
-
-