org.springframework.conversation.interceptor
Class BeanFactoryConversationAttributeSourceAdvisor
java.lang.Object
org.springframework.aop.support.AbstractPointcutAdvisor
org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor
org.springframework.conversation.interceptor.BeanFactoryConversationAttributeSourceAdvisor
- All Implemented Interfaces:
- Serializable, Advisor, PointcutAdvisor, Aware, BeanFactoryAware, Ordered
public class BeanFactoryConversationAttributeSourceAdvisor
- extends AbstractBeanFactoryPointcutAdvisor
Advisor implementation that advises beans if they contain conversation meta-data. Uses a
ConversationAttributeSourcePointcut to specify if the bean should be advised or not.
- Author:
- Agim Emruli
- See Also:
- Serialized Form
BeanFactoryConversationAttributeSourceAdvisor
public BeanFactoryConversationAttributeSourceAdvisor()
setConversationAttributeSource
public void setConversationAttributeSource(ConversationAttributeSource conversationAttributeSource)
- Sets the ConversationAttributeSource instance that will be used to retrieve the ConversationDefinition meta-data.
This instance will be used by the point-cut do specify if the target bean should be advised or not.
getPointcut
public Pointcut getPointcut()
- Returns the pointcut that will be used at runtime to test if the bean should be advised or not.
- See Also:
ConversationAttributeSourcePointcut