Created
July 28, 2012 06:25
-
-
Save endymuhardin/3192086 to your computer and use it in GitHub Desktop.
Konfigurasi JavaMelody
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean id="facadeMonitoringAdvisor" | |
class="net.bull.javamelody.MonitoringSpringAdvisor"> | |
<property name="pointcut"> | |
<bean class="net.bull.javamelody.MonitoredWithInterfacePointcut"> | |
<property name="interfaceName" | |
value="com.artivisi.belajar.restful.service.MonitoredService" | |
/> | |
</bean> | |
</property> | |
</bean> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependency> | |
<groupId>net.bull.javamelody</groupId> | |
<artifactId>javamelody-core</artifactId> | |
<version>1.39.0</version> | |
</dependency> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<context-param> | |
<param-name>contextConfigLocation</param-name> | |
<param-value> | |
classpath:net/bull/javamelody/monitoring-spring.xml | |
classpath*:com/artivisi/**/applicationContext.xml | |
</param-value> | |
</context-param> | |
<listener> | |
<listener-class>net.bull.javamelody.SessionListener</listener-class> | |
</listener> | |
<!-- Monitor aplikasi menggunakan javamelody --> | |
<filter> | |
<filter-name>monitoring</filter-name> | |
<filter-class>net.bull.javamelody.MonitoringFilter</filter-class> | |
</filter> | |
<filter-mapping> | |
<filter-name>monitoring</filter-name> | |
<url-pattern>/*</url-pattern> | |
</filter-mapping> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment