GrailsApplicationAwareBeanPostProcessor (Grails 2.3.8)
Date: 2014-04-24

Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.groovy.grails.plugins.support.aware
[Java] Class GrailsApplicationAwareBeanPostProcessor

    java.lang.Object
      org.codehaus.groovy.grails.plugins.support.BeanPostProcessorAdapter
          org.codehaus.groovy.grails.plugins.support.aware.GrailsApplicationAwareBeanPostProcessor

    public class GrailsApplicationAwareBeanPostProcessor
    extends BeanPostProcessorAdapter

Implementation of org.springframework.beans.factory.config.BeanPostProcessor that recognizes GrailsApplicationAware and injects and instance of GrailsApplication.

Authors:
  Steven Devijver

Since:
  0.2

Constructor Summary
`GrailsApplicationAwareBeanPostProcessor(GrailsApplication grailsApplication)`

Method Summary
`java.lang.Object` | `postProcessBeforeInitialization(java.lang.Object bean, java.lang.String beanName)`
`static void` | `processAwareInterfaces(GrailsApplication grailsApplication, java.lang.Object bean)`

Methods inherited from class BeanPostProcessorAdapter
postProcessAfterInitialization, postProcessBeforeInitialization

Methods inherited from 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()

Constructor Detail

### GrailsApplicationAwareBeanPostProcessor

    public GrailsApplicationAwareBeanPostProcessor(GrailsApplication grailsApplication)

Method Detail

### postProcessBeforeInitialization

    @java.lang.Override
    public java.lang.Object postProcessBeforeInitialization(java.lang.Object bean, java.lang.String beanName)

### processAwareInterfaces

    public static void processAwareInterfaces(GrailsApplication grailsApplication, java.lang.Object bean)

Groovy Documentation