Created
October 28, 2011 02:00
-
-
Save anonymous/1321450 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean id="internalMyService" class="com.MyService"/> | |
<constructor-arg index="0" ref="repository" /> | |
</bean> | |
<bean id="myService" class="org.springframework.aop.framework.ProxyFactoryBean"> | |
<property name="target" ref="internalMyService"></property> | |
<property name="interceptorNames"> | |
<list> | |
<value>transactionInterceptor</value> | |
<value>hibernateInterceptor</value> | |
</list> | |
</property> | |
</bean> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment