org.springframework.conversation.interceptor
Class BeanFactoryConversationAttributeSourceAdvisor

java.lang.Object
  extended by org.springframework.aop.support.AbstractPointcutAdvisor
      extended by org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor
          extended by 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

Field Summary
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
BeanFactoryConversationAttributeSourceAdvisor()
           
 
Method Summary
 Pointcut getPointcut()
          Returns the pointcut that will be used at runtime to test if the bean should be advised or not.
 void setConversationAttributeSource(ConversationAttributeSource conversationAttributeSource)
          Sets the ConversationAttributeSource instance that will be used to retrieve the ConversationDefinition meta-data.
 
Methods inherited from class org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor
getAdvice, getAdviceBeanName, setAdvice, setAdviceBeanName, setBeanFactory, toString
 
Methods inherited from class org.springframework.aop.support.AbstractPointcutAdvisor
equals, getOrder, hashCode, isPerInstance, setOrder
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanFactoryConversationAttributeSourceAdvisor

public BeanFactoryConversationAttributeSourceAdvisor()
Method Detail

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