All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.bull.javamelody.monitoring-spring-aspectj.xml Maven / Gradle / Ivy

There is a newer version: 2.3.0
Show newest version
<?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="springMongoDbFactoryBeanPostProcessor" class="net.bull.javamelody.SpringMongoDbFactoryBeanPostProcessor" />

	<bean id="springElasticsearchOperationsBeanPostProcessor" class="net.bull.javamelody.SpringElasticsearchOperationsBeanPostProcessor" />

	<bean id="javamelodySpringContext" class="net.bull.javamelody.SpringContext" />
</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy