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

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

public class ServiceAndEndpointAnnotationBeanPostProcessor
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
ServiceAndEndpointAnnotationBeanPostProcessor()
           
 
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

ServiceAndEndpointAnnotationBeanPostProcessor

public ServiceAndEndpointAnnotationBeanPostProcessor()
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-2009 MuleSource, Inc.. All Rights Reserved.