org.codehaus.groovy.grails.plugins.support.aware
Class PluginManagerAwareBeanPostProcessor

java.lang.Object
  extended by org.codehaus.groovy.grails.plugins.support.BeanPostProcessorAdapter
      extended by org.codehaus.groovy.grails.plugins.support.aware.PluginManagerAwareBeanPostProcessor
All Implemented Interfaces:
BeanPostProcessor

public class PluginManagerAwareBeanPostProcessor
extends BeanPostProcessorAdapter

Auto-injects beans that implement PluginManagerAware

Since:
1.2
Author:
Graeme Rocher

Constructor Summary
PluginManagerAwareBeanPostProcessor(GrailsPluginManager pluginManager)
           
 
Method Summary
 Object postProcessBeforeInitialization(Object bean, String beanName)
           
 
Methods inherited from class org.codehaus.groovy.grails.plugins.support.BeanPostProcessorAdapter
postProcessAfterInitialization
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginManagerAwareBeanPostProcessor

public PluginManagerAwareBeanPostProcessor(GrailsPluginManager pluginManager)
Method Detail

postProcessBeforeInitialization

public Object postProcessBeforeInitialization(Object bean,
                                              String beanName)
                                       throws BeansException
Specified by:
postProcessBeforeInitialization in interface BeanPostProcessor
Overrides:
postProcessBeforeInitialization in class BeanPostProcessorAdapter
Returns:
The specified bean
Throws:
BeansException
See Also:
BeanPostProcessor.postProcessBeforeInitialization(Object, String)


Copyright (c) 2005-2009 The Grails project