com.schlimm.springcdi.interceptor.strategies.impl
Class SimpleInterceptorOrderingStrategy

java.lang.Object
  extended by com.schlimm.springcdi.interceptor.strategies.impl.SimpleInterceptorOrderingStrategy
All Implemented Interfaces:
InterceptorOrderingStrategy

public class SimpleInterceptorOrderingStrategy
extends Object
implements InterceptorOrderingStrategy

Simple ordering strategy that applies the configured order of InterceptorAwareBeanFactoryPostProcessor.

Author:
Niklas Schlimm

Constructor Summary
SimpleInterceptorOrderingStrategy()
           
 
Method Summary
 List<InterceptorInfo> orderInterceptors(org.springframework.beans.factory.BeanFactory beanFactory, List<InterceptorInfo> interceptors, List<Class> configuredOrder)
          Order the interceptors.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleInterceptorOrderingStrategy

public SimpleInterceptorOrderingStrategy()
Method Detail

orderInterceptors

public List<InterceptorInfo> orderInterceptors(org.springframework.beans.factory.BeanFactory beanFactory,
                                               List<InterceptorInfo> interceptors,
                                               List<Class> configuredOrder)
Description copied from interface: InterceptorOrderingStrategy
Order the interceptors.

Specified by:
orderInterceptors in interface InterceptorOrderingStrategy
Parameters:
beanFactory - the factory that defines the interceptors
interceptors - the registered interceptors
configuredOrder - the configured order of InterceptorAwareBeanFactoryPostProcessor (if any)
Returns:
the ordered list of interceptors


Copyright © 2011. All Rights Reserved.