The following snippet appears to come up often -- I was wondering if there is a more compact representation that makes use of the aop (or another) namespace?
Code:<bean id="foo" class="..."> ... </bean> <bean id="fooProxy" class="org.springframework.aop.framework.ProxyFactoryBean"> <property name="targetSource"> <bean class="org.springframework.aop.target.LazyInitTargetSource"> <property name="targetBeanName"> <idref local="foo"/> </property> </bean> </property> </bean>


Reply With Quote