Package io.micronaut.context
Interface ApplicationContextProvider
- All Known Subinterfaces:
ApplicationContextLifeCycle<T>
,EmbeddedApplication<T>
,EmbeddedServer
,NettyEmbeddedServer
,ServerUnderTest
- All Known Implementing Classes:
AbstractExecutor
,AbstractFunctionExecutor
,EmbeddedServerUnderTest
,FunctionApplication
,FunctionInitializer
,MessagingApplication
,NettyHttpServer
,StreamFunctionExecutor
public interface ApplicationContextProvider
An interface for classes that provide an
ApplicationContext
.- Since:
- 1.0
- Author:
- Graeme Rocher
-
Method Summary
-
Method Details
-
getApplicationContext
ApplicationContext getApplicationContext()Resolves theApplicationContext
for this class.- Returns:
- The
ApplicationContext
-