info.magnolia.module.blossom.dispatcher
Class BlossomDispatcherAwareBeanPostProcessor

java.lang.Object
  extended by info.magnolia.module.blossom.dispatcher.BlossomDispatcherAwareBeanPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor

public class BlossomDispatcherAwareBeanPostProcessor
extends Object
implements org.springframework.beans.factory.config.BeanPostProcessor

Detects beans that implement BlossomDispatcherAware and gives them a reference to the dispatcher.

Since:
1.1.1

Constructor Summary
BlossomDispatcherAwareBeanPostProcessor(BlossomDispatcher blossomDispatcher)
           
 
Method Summary
 Object postProcessAfterInitialization(Object bean, String beanName)
           
 Object postProcessBeforeInitialization(Object bean, String beanName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlossomDispatcherAwareBeanPostProcessor

public BlossomDispatcherAwareBeanPostProcessor(BlossomDispatcher blossomDispatcher)
Method Detail

postProcessBeforeInitialization

public Object postProcessBeforeInitialization(Object bean,
                                              String beanName)
                                       throws org.springframework.beans.BeansException
Specified by:
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
Throws:
org.springframework.beans.BeansException

postProcessAfterInitialization

public Object postProcessAfterInitialization(Object bean,
                                             String beanName)
                                      throws org.springframework.beans.BeansException
Specified by:
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
Throws:
org.springframework.beans.BeansException


Copyright © 2009-2012 Magnolia International Ltd.. All Rights Reserved.