-
Feb 19th, 2006, 10:59 AM
#1
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>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules