GrailsApplicationPostProcessor (Grails 3.3.10)
Date: 2019-05-20

Package: grails.boot.config

## [Groovy] Class GrailsApplicationPostProcessor

- grails.boot.config.GrailsApplicationPostProcessor

- All Implemented Interfaces and Traits:
    org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener

      @groovy.transform.CompileStatic
      @groovy.util.logging.Slf4j
      class GrailsApplicationPostProcessor
      extends java.lang.Object

  A org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor that enhances any ApplicationContext with plugin manager capabilities

  Authors:
    Graeme Rocher
  Since:
    3.0

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `protected org.springframework.context.ApplicationContext` | `applicationContext` |
    `protected GrailsPluginManager` | `pluginManager` |

  - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `static boolean` | `RELOADING_ENABLED`
    `GrailsApplicationClass` | `applicationClass`
    `java.lang.Class[]` | `classes`
    `GrailsApplication` | `grailsApplication`
    `GrailsApplicationLifeCycle` | `lifeCycle`
    `boolean` | `loadExternalBeans`
    `boolean` | `reloadingEnabled`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `GrailsApplicationPostProcessor (GrailsApplicationLifeCycle lifeCycle, org.springframework.context.ApplicationContext applicationContext, java.lang.Class... classes)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `protected void` | `customizeGrailsApplication(GrailsApplication grailsApplication)`
    `` | `protected void` | `customizePluginManager(GrailsPluginManager grailsApplication)`
    `` | `protected void` | `initializeGrailsApplication(org.springframework.context.ApplicationContext applicationContext)`
    `` | `protected void` | `loadApplicationConfig()`
    `` | `void` | `onApplicationEvent(org.springframework.context.event.ApplicationContextEvent event)`
    `` | `protected void` | `performGrailsInitializationSequence()`
    `` | `void` | `postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)`
    `` | `void` | `postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)`
    `` | `void` | `setApplicationContext(org.springframework.context.ApplicationContext applicationContext)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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()`

- - ### Field Detail

    - #### protected org.springframework.context.ApplicationContext applicationContext

    - #### protected final GrailsPluginManager pluginManager

  - ### Property Detail

    - #### static final boolean RELOADING_ENABLED

    - #### final GrailsApplicationClass applicationClass

    - #### final java.lang.Class[] classes

    - #### final GrailsApplication grailsApplication

    - #### final GrailsApplicationLifeCycle lifeCycle

    - #### boolean loadExternalBeans

    - #### boolean reloadingEnabled

  - ### Constructor Detail

    - #### GrailsApplicationPostProcessor(GrailsApplicationLifeCycle lifeCycle, org.springframework.context.ApplicationContext applicationContext, java.lang.Class... classes)

  - ### Method Detail

    - #### protected void customizeGrailsApplication(GrailsApplication grailsApplication)

    - #### protected void customizePluginManager(GrailsPluginManager grailsApplication)

    - #### protected final void initializeGrailsApplication(org.springframework.context.ApplicationContext applicationContext)

    - #### protected void loadApplicationConfig()

    - #### @java.lang.Override void onApplicationEvent(org.springframework.context.event.ApplicationContextEvent event)

    - #### protected void performGrailsInitializationSequence()

    - #### @java.lang.Override void postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)

    - #### @java.lang.Override void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)

    - #### @java.lang.Override void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)