
spring.otter-arbitrate-log.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:lang="http://www.springframework.org/schema/lang" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd" default-autowire="byName" > <bean name="logInterceptor" class="com.alibaba.otter.shared.arbitrate.impl.interceptor.LogInterceptor" scope="singleton"/> <bean class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator"> <property name="proxyTargetClass" value="true"/><!-- 强制使用cglib代理 --> <property name="beanNames"> <list> <value>channelEvent</value> <value>pipelineEvent</value> <value>nodeEvent</value> <value>mainStemEvent</value> <value>selectEvent</value> <value>extractEvent</value> <value>transformEvent</value> <value>loadEvent</value> <value>terminEvent</value> <value>normalTerminProcess</value> <value>warningTerminProcess</value> <value>errorTerminProcess</value> </list> </property> <property name="interceptorNames"> <list> <value>logInterceptor</value> </list> </property> </bean> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy