Announcement Announcement Module
Collapse
No announcement yet.
RegexpMethodPointcutAdvisor.Is ".*set.*" indicate path? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • RegexpMethodPointcutAdvisor.Is ".*set.*" indicate path?

    1)Can anyone explain to me the ".*set.*"? It seem a path like com.java.set.Student. How if i just want the patterns of the method?

    <bean id="settersAndAbsquatulateAdvisor"
    class="org.springframework.aop.support.RegexpMetho dPointcutAdvisor">
    <property name="advice"><ref local="myAdvice"/></property>
    <property name="patterns">
    <list>
    <value>.*set.*</value>
    <value>.*absquatulate</value>
    </list>
    </property>
    </bean>

    2)Can i add the around advisor to the following TransactionInterceptor?
    <bean id="transactionInterceptor"
    class="org.springframework.transaction.interceptor .TransactionInterceptor">
    <property name="transactionManager">
    <ref bean="txManager"/>
    </property>
Working...
X