Class PluginManagerAwareBeanPostProcessor

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.config.BeanPostProcessor

    public class PluginManagerAwareBeanPostProcessor
    extends BeanPostProcessorAdapter
    implements org.springframework.beans.factory.BeanFactoryAware
    Auto-injects beans that implement PluginManagerAware.
    Since:
    1.2
    • Constructor Detail

      • PluginManagerAwareBeanPostProcessor

        public PluginManagerAwareBeanPostProcessor()
      • PluginManagerAwareBeanPostProcessor

        public PluginManagerAwareBeanPostProcessor​(GrailsPluginManager pluginManager)
    • Method Detail

      • postProcessBeforeInitialization

        public java.lang.Object postProcessBeforeInitialization​(java.lang.Object bean,
                                                                java.lang.String beanName)
                                                         throws org.springframework.beans.BeansException
        Specified by:
        postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
        Overrides:
        postProcessBeforeInitialization in class BeanPostProcessorAdapter
        Returns:
        The specified bean
        Throws:
        org.springframework.beans.BeansException
        See Also:
        BeanPostProcessor.postProcessBeforeInitialization(Object, String)
      • setBeanFactory

        public void setBeanFactory​(org.springframework.beans.factory.BeanFactory beanFactory)
                            throws org.springframework.beans.BeansException
        Specified by:
        setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
        Throws:
        org.springframework.beans.BeansException