com.schlimm.springcdi.interceptor.strategies
Interface InterceptorOrderingStrategy

All Known Implementing Classes:
SimpleInterceptorOrderingStrategy

public interface InterceptorOrderingStrategy

Strategy to order interceptors. Clients can implement their own custom ordering strategy.

Author:
Niklas Schlimm

Method Summary
 List<InterceptorInfo> orderInterceptors(org.springframework.beans.factory.BeanFactory beanFactory, List<InterceptorInfo> interceptors, List<Class> configuredOrder)
          Order the interceptors.
 

Method Detail

orderInterceptors

List<InterceptorInfo> orderInterceptors(org.springframework.beans.factory.BeanFactory beanFactory,
                                        List<InterceptorInfo> interceptors,
                                        List<Class> configuredOrder)
Order the interceptors.

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.