das.edas-sdk.1.8.1.source-code.sentinel-tracer-entrance.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"> <!--entrance with hsf start--> <bean id="customEditorConfigurer" class="org.springframework.beans.factory.config.CustomEditorConfigurer"> <property name="propertyEditorRegistrars"> <list> <bean class="com.taobao.csp.sentinel.entrypoint.entrance.HSFSpringProviderBeanRegistrar"/> </list> </property> </bean> <!--entrance with hsf end--> <!--entrance with java start--> <bean id="javaEntranceInterceptor" class="com.taobao.csp.sentinel.entrypoint.entrance.JavaEntranceInterceptor"/> <bean id="javaEntranceProxyTypeHolder" class="com.taobao.csp.sentinel.entrypoint.ProxyTypeHolder"> <property name="beanTypes"> <list> <value>com.taobao.hsf.notify.client.MessageListener</value> <value>org.springframework.scheduling.quartz.QuartzJobBean</value> </list> </property> </bean> <bean id="javaEntranceBeanTypeAutoProxyCreator" class="com.taobao.csp.sentinel.entrypoint.BeanTypeAutoProxyCreator"> <property name="proxyTypeHolder" ref="javaEntranceProxyTypeHolder"/> <property name="interceptorNames"> <list> <value>javaEntranceInterceptor</value> </list> </property> </bean> <!--entrance with java end--> </beans>