public static class AppContext.Internals
extends java.lang.Object
| Constructor and Description |
|---|
Internals() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setAppComponents(AppComponents appComponents) |
static void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Called by the framework to set Spring's context.
|
static void |
setSecurityContextHolder(SecurityContextHolder holder)
Called by the framework to replace standard thread-local holder.
|
static void |
startContext()
Called by the framework after the application has been started and fully initialized.
|
static void |
stopContext()
Called by the framework right before the application shutdown.
|
public static void setAppComponents(AppComponents appComponents)
public static void setApplicationContext(@Nullable
org.springframework.context.ApplicationContext applicationContext)
applicationContext - initialized Spring's contextpublic static void setSecurityContextHolder(SecurityContextHolder holder)
holder - a holder implementationpublic static void startContext()
public static void stopContext()