net.bull.javamelody.monitoring-spring-aspectj.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javamelody-core Show documentation
Show all versions of javamelody-core Show documentation
Monitoring of JavaEE applications
<?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:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd"> <aop:config proxy-target-class="true"> <aop:advisor advice-ref="monitoringAdvice" pointcut-ref="monitoringPointcut" /> <aop:advisor advice-ref="monitoringAdvice" pointcut-ref="monitoringAsyncAndScheduledPointcut" /> <aop:advisor advice-ref="monitoringAdvice" pointcut-ref="monitoringControllerAndServicePointcut" /> </aop:config> <bean id="monitoringAdvice" class="net.bull.javamelody.MonitoringSpringInterceptor" /> <bean id="monitoringPointcut" class="net.bull.javamelody.MonitoredWithAnnotationPointcut" /> <bean id="monitoringAsyncAndScheduledPointcut" class="net.bull.javamelody.MonitoredSpringAsyncAndScheduledPointcut" /> <bean id="monitoringControllerAndServicePointcut" class="net.bull.javamelody.MonitoredSpringControllerAndServicePointcut" /> <bean id="springDataSourceBeanPostProcessor" class="net.bull.javamelody.SpringDataSourceBeanPostProcessor"> <!-- <property name="excludedDatasources"> <set> <value>excludedDataSourceName</value> </set> </property> --> </bean> <!-- <bean id="wrappedDataSource" class="net.bull.javamelody.SpringDataSourceFactoryBean"> <property name="targetName" value="targetDataSource" /> </bean> --> <bean id="springRestTemplateBeanPostProcessor" class="net.bull.javamelody.SpringRestTemplateBeanPostProcessor" /> <bean id="javamelodySpringContext" class="net.bull.javamelody.SpringContext" /> </beans>