c# - Using multiple AutoProxyCreator for the same objects -
i using spring.net ioc , aop. seems spring.net not support multiple autoproxycreators. have following classes:
[facade] public abstract class abstractfacade{ } [transactionsupportfacade] public abstract class abstracttransactionsupportfacade{ }
some classes inherited above classes, have following xml configuration:
<object type="spring.aop.framework.autoproxy.attributeautoproxycreator , spring.aop"> <property name="attributetypes"> <list> <value>common.attributes.transactionsupportfacadeattribute, common</value> </list> </property> <property name="interceptornames"> <list> <value>jutransactioninterceptor</value> </list> </property> <property name="checkinherited"> <value>true</value> </property> </object> <object type="spring.aop.framework.autoproxy.attributeautoproxycreator , spring.aop"> <property name="attributetypes"> <list> <value>common.attributes.facadeattribute, common</value> </list> </property> <property name="interceptornames"> <list> <value>identifyserviceaspect</value> <value>pushidentityaspect</value> <value>authenticationadvice</value> <value>validationaspect</value> <value>servicecallresultwrapperaspect</value> </list> </property> <property name="checkinherited"> <value>true</value> </property> </object>
the problem raises here, 1 of these attributeautoproxycreators work @ same time, please me solve problem.
Comments
Post a Comment