com.schlimm.springcdi.interceptor
Class InterceptorAwareBeanFactoryPostProcessor

java.lang.Object
  extended by com.schlimm.springcdi.interceptor.InterceptorAwareBeanFactoryPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.beans.factory.InitializingBean

public class InterceptorAwareBeanFactoryPostProcessor
extends Object
implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.beans.factory.InitializingBean

BeanFactoryPostProcessor that creates and registers the InterceptorMetaDataBean and the InterceptorAwareBeanPostProcessor.

Author:
Niklas Schlimm

Constructor Summary
InterceptorAwareBeanFactoryPostProcessor()
           
InterceptorAwareBeanFactoryPostProcessor(InterceptorResolutionStrategy interceptorResolutionStrategy)
           
 
Method Summary
 void afterPropertiesSet()
           
 InterceptorMetaDataBean createAndRegisterMetaDataBean(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
           
 List<Class> getInterceptorOrder()
           
 void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
           
 void setInterceptorOrder(List<Class> interceptorOrder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptorAwareBeanFactoryPostProcessor

public InterceptorAwareBeanFactoryPostProcessor()

InterceptorAwareBeanFactoryPostProcessor

public InterceptorAwareBeanFactoryPostProcessor(InterceptorResolutionStrategy interceptorResolutionStrategy)
Method Detail

postProcessBeanFactory

public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
                            throws org.springframework.beans.BeansException
Specified by:
postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
Throws:
org.springframework.beans.BeansException

createAndRegisterMetaDataBean

public InterceptorMetaDataBean createAndRegisterMetaDataBean(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

setInterceptorOrder

public void setInterceptorOrder(List<Class> interceptorOrder)

getInterceptorOrder

public List<Class> getInterceptorOrder()


Copyright © 2011. All Rights Reserved.