org.mule.impl.annotations.processors.spring
Class BindAnnotationBeanPostProcessor

java.lang.Object
  extended by org.mule.impl.annotations.processors.spring.BindAnnotationBeanPostProcessor
All Implemented Interfaces:
MuleContextAware, org.springframework.beans.factory.config.BeanPostProcessor

public class BindAnnotationBeanPostProcessor
extends Object
implements org.springframework.beans.factory.config.BeanPostProcessor, MuleContextAware

A Spring post processor that wraps the Mule AnnotatedServiceObjectProcessor. The service is analyzed and created before the bean is initialized.


Constructor Summary
BindAnnotationBeanPostProcessor()
           
 
Method Summary
 Object postProcessAfterInitialization(Object bean, String beanName)
           
 Object postProcessBeforeInitialization(Object bean, String beanName)
           
 void setMuleContext(MuleContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindAnnotationBeanPostProcessor

public BindAnnotationBeanPostProcessor()
Method Detail

setMuleContext

public void setMuleContext(MuleContext context)
Specified by:
setMuleContext in interface MuleContextAware

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-2010 MuleSoft, Inc.. All Rights Reserved.