
Originally Posted by
juan110470
Our current Spring configuration makes use of the parent attribute of the bean tag:
<bean id="inquiryService" parent="txProxyTemplate">
How does the config of txProxyTemplate look like?

Originally Posted by
juan110470
However, for the bean referenced above, we now need to add some interceptor functionality via Spring AOP. [..] As you can see, now we don't have the transaction demarcation in our bean. I know this is possible in Spring and if someone can point me in the right direction I would appreciate it.
As far as I understand your problem you need to apply the TransactionInterceptor via the ProxyFactoryBean as well. A possible configuration can then look like:
Code:
<bean id="inquiryService"
class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<value>com.wfs.felix.services.InquiryService</value>
</property>
<property name="interceptorNames">
<list>
<value>auditTrailLoggerPointcutAdvisor</value>
<value>txInterceptor</value>
</list>
</property>
<property name="target">
<ref bean="inquiryServiceTarget"/>
</property>
</bean>
<bean id="txAttributes"
class="org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource">
<property name="properties">
<props>
<prop key="get*">PROPAGATION_REQUIRED,readOnly,-Exception</prop>
<prop key="..">..</prop>
</props>
</property>
</bean>
<bean id="txInterceptor"
class="org.springframework.transaction.interceptor.TransactionInterceptor">
<property name="transactionManager" ref="transactionManager"/>
<property name="transactionAttributeSource" ref="txAttributes"/>
</bean>