das.edas-sdk.1.8.1.source-code.sentinel-tracer-proxy.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="GBK"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "classpath:dtd/spring-beans.dtd"> <beans default-autowire="byName"> <!--proxy for default--> <bean id="traceMethodInterceptor" class="com.taobao.csp.sentinel.entrypoint.proxy.TraceMethodInterceptor"/> <bean id="traceProxyTypeHolder" class="com.taobao.csp.sentinel.entrypoint.ProxyTypeHolder"> <property name="beanTypes"> <list> <value>com.taobao.hsf.app.spring.util.HSFSpringConsumerBean</value> <value>com.taobao.common.dao.persistence.SqlMapBaseDAO</value> <value>org.springframework.dao.support.DaoSupport</value> </list> </property> </bean> <bean id="traceBeanTypeAutoProxyCreator" class="com.taobao.csp.sentinel.entrypoint.BeanTypeAutoProxyCreator"> <property name="proxyTypeHolder" ref="traceProxyTypeHolder"/> <property name="interceptorNames"> <list> <value>traceMethodInterceptor</value> </list> </property> </bean> <!--proxy for tair--> <bean id="tairMethodInterceptor" class="com.taobao.csp.sentinel.entrypoint.proxy.TairGroupNamespaceInterceptor"/> <bean id="tairProxyTypeHolder" class="com.taobao.csp.sentinel.entrypoint.ProxyTypeHolder"> <property name="beanTypes"> <list> <value>com.taobao.tair.TairManager</value> </list> </property> </bean> <bean id="tairBeanTypeAutoProxyCreator" class="com.taobao.csp.sentinel.entrypoint.BeanTypeAutoProxyCreator"> <property name="proxyTypeHolder" ref="tairProxyTypeHolder"/> <property name="interceptorNames"> <list> <value>tairMethodInterceptor</value> </list> </property> </bean> </beans>