org.mule.config.spring
Class NotificationListenersPostProcessor

java.lang.Object
  extended by org.mule.config.spring.NotificationListenersPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor

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

Responsible for passing in the MuleContext instance for all objects in the registry that want it. For an object to get an instance of the MuleContext it must implement MuleContextAware.

See Also:
MuleContextAware, MuleContext

Constructor Summary
NotificationListenersPostProcessor(MuleContext muleContext)
           
 
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

NotificationListenersPostProcessor

public NotificationListenersPostProcessor(MuleContext muleContext)
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 © 2003-2012 MuleSoft, Inc.. All Rights Reserved.