@io.micronaut.context.annotation.Factory public class CoreConfiguration extends java.lang.Object implements io.micronaut.context.event.ApplicationEventListener
Core beans.
Modifiers | Name | Description |
---|---|---|
private org.springframework.context.ConfigurableApplicationContext |
childContext |
|
private GrailsApplication |
grailsApplication |
Constructor and description |
---|
CoreConfiguration
(GrailsApplication grailsApplication) |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.ClassLoader |
classLoader() |
|
ConfigProperties |
configProperties() |
|
public org.springframework.context.ConfigurableApplicationContext |
getChildContext() |
|
public void |
onApplicationEvent(io.micronaut.context.event.ShutdownEvent event) |
|
public void |
setChildContext(org.springframework.context.ConfigurableApplicationContext childContext) Sets the child Spring context. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Sets the child Spring context.
childContext
- The child context