public class MicronautServletInitializer
extends java.lang.Object
implements javax.servlet.ServletContainerInitializer
Constructor and Description |
---|
MicronautServletInitializer() |
Modifier and Type | Method and Description |
---|---|
protected io.micronaut.context.ApplicationContextBuilder |
buildApplicationContext(javax.servlet.ServletContext ctx)
Builds the application context.
|
void |
onStartup(java.util.Set<java.lang.Class<?>> c,
javax.servlet.ServletContext ctx) |
public void onStartup(java.util.Set<java.lang.Class<?>> c, javax.servlet.ServletContext ctx)
onStartup
in interface javax.servlet.ServletContainerInitializer
protected io.micronaut.context.ApplicationContextBuilder buildApplicationContext(javax.servlet.ServletContext ctx)
ctx
- The context