Package org.grails.plugins.core
Class CoreConfiguration
- java.lang.Object
-
- org.grails.plugins.core.CoreConfiguration
-
- All Implemented Interfaces:
io.micronaut.context.event.ApplicationEventListener<io.micronaut.context.event.ShutdownEvent>,java.util.EventListener
@Factory public class CoreConfiguration extends java.lang.Object implements io.micronaut.context.event.ApplicationEventListener<io.micronaut.context.event.ShutdownEvent>Core beans.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description CoreConfiguration(GrailsApplication grailsApplication)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.context.ConfigurableApplicationContextgetChildContext()voidonApplicationEvent(io.micronaut.context.event.ShutdownEvent event)voidsetChildContext(org.springframework.context.ConfigurableApplicationContext childContext)Sets the child Spring context.
-
-
-
Constructor Detail
-
CoreConfiguration
public CoreConfiguration(GrailsApplication grailsApplication)
-
-
Method Detail
-
setChildContext
public void setChildContext(org.springframework.context.ConfigurableApplicationContext childContext)
Sets the child Spring context.- Parameters:
childContext- The child context
-
getChildContext
public org.springframework.context.ConfigurableApplicationContext getChildContext()
-
onApplicationEvent
public void onApplicationEvent(io.micronaut.context.event.ShutdownEvent event)
- Specified by:
onApplicationEventin interfaceio.micronaut.context.event.ApplicationEventListener<io.micronaut.context.event.ShutdownEvent>
-
-