net.sf.tie.ext.spring
Class InterceptorList
java.lang.Object
net.sf.tie.ext.spring.InterceptorList
- All Implemented Interfaces:
- BeanFactoryAware, BeanNameAware, FactoryBean, InitializingBean
public class InterceptorList
- extends Object
- implements BeanFactoryAware, FactoryBean, InitializingBean, BeanNameAware
A bean designed to be used in a spring bean factory (or application context) to transform a list of MethodInterceptor
beans into a
MethodInterceptorStack
.
The beans may be provided as either
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterceptorList
public InterceptorList()
setInterceptors
public void setInterceptors(List interceptors)
setDependencyCheck
public void setDependencyCheck(boolean dependencyCheck)
setBeanFactory
public void setBeanFactory(BeanFactory beanFactory)
throws BeansException
- Specified by:
setBeanFactory
in interface BeanFactoryAware
- Throws:
BeansException
setBeanName
public void setBeanName(String name)
- Specified by:
setBeanName
in interface BeanNameAware
getObject
public Object getObject()
throws Exception
- Specified by:
getObject
in interface FactoryBean
- Throws:
Exception
getObjectType
public Class getObjectType()
- Specified by:
getObjectType
in interface FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface FactoryBean
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface InitializingBean
- Throws:
Exception