com.schlimm.springcdi.interceptor.strategies.impl
Class SimpleInterceptorResolutionStrategy
java.lang.Object
com.schlimm.springcdi.interceptor.strategies.impl.SimpleInterceptorResolutionStrategy
- All Implemented Interfaces:
- InterceptorResolutionStrategy
public class SimpleInterceptorResolutionStrategy
- extends Object
- implements InterceptorResolutionStrategy
Simple interceptor resolution strategy that assumes that interceptors are scanned on the class path using Spring's component
scan. Interceptor BeanDefinition
must be of type AnnotatedBeanDefinition
.
- Author:
- Niklas Schlimm
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleInterceptorResolutionStrategy
public SimpleInterceptorResolutionStrategy()
resolveRegisteredInterceptors
public List<InterceptorInfo> resolveRegisteredInterceptors(org.springframework.beans.factory.BeanFactory beanFactory)
- Description copied from interface:
InterceptorResolutionStrategy
- Resolve the available interceptors.
- Specified by:
resolveRegisteredInterceptors
in interface InterceptorResolutionStrategy
- Parameters:
beanFactory
- the factory that contains the interceptor BeanDefinition
s
- Returns:
- the resolved interceptors
resolveInterceptorTargets
public InterceptorInfo resolveInterceptorTargets(org.springframework.beans.factory.BeanFactory beanFactory,
InterceptorInfo interceptorInfo)
Copyright © 2011. All Rights Reserved.