Package io.micronaut.context
Interface ApplicationContextLifeCycle<T extends ApplicationContextLifeCycle>
-
- Type Parameters:
T- The concrete type
- All Superinterfaces:
ApplicationContextProvider,java.lang.AutoCloseable,java.io.Closeable,LifeCycle
public interface ApplicationContextLifeCycle<T extends ApplicationContextLifeCycle> extends ApplicationContextProvider, LifeCycle
An interface for classes that manage theApplicationContextlife cycle and shut it down when the class is shutdown.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Tstart()Starts the lifecyle component.default Tstop()Stops the life cycle component.-
Methods inherited from interface io.micronaut.context.ApplicationContextProvider
getApplicationContext
-
-