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
<test> | |
<start> | |
Testing | |
</start> | |
</test> |
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.47.0</version> | |
</dependency> | |
<!-- itext, option to add PDF export --> | |
<dependency> | |
<groupId>com.lowagie</groupId> | |
<artifactId>itext</artifactId> | |
<version>2.1.7</version> |
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
<!-- Custom CSS --> | |
<filter> | |
<filter-name>customResourceFilter</filter-name> | |
<filter-class>net.bull.javamelody.CustomResourceFilter</filter-class> | |
<init-param> | |
<param-name>monitoring.css</param-name> | |
<param-value>/styles/monitoring.css</param-value> | |
</init-param> | |
</filter> | |
<filter-mapping> |
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
<http auto-config="true" use-expressions="true"> | |
<intercept-url pattern="/monitoring/**" access="hasRole('ROLE_ADMIN')" /> | |
<intercept-url pattern="/**" access="hasAnyRole('ROLE_ADMIN, 'ROLE_USER'')" /> | |
</http> |
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
<defaultCache maxElementsInMemory="10000" | |
eternal="false" | |
overflowToDisk="false" | |
timeToIdleSeconds="1800" | |
timeToLiveSeconds="1800" | |
diskPersistent="false" | |
diskExpiryThreadIntervalSeconds="120" | |
statistics="true" | |
memoryStoreEvictionPolicy="LRU"/> |
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
<jee:jndi-lookup id="dataSource" jndi-name="jdbc/myAppDS"/> | |
<bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"> | |
<property name="dataSource" ref="dataSource" /> |
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"> | |
<property name="pointcut"> | |
<bean> | |
<property name="pattern" value=".*Service.*" /> | |
</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
Case1 | |
@net.bull.javamelody.MonitoredWithSpring | |
public interface Test { | |
void myMethod(); | |
} | |
or | |
Case2 | |
public interface Test { | |
@net.bull.javamelody.MonitoredWithSpring | |
void myMethod(); |
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"> | |
<property name="pointcut"> | |
<bean> | |
<property name="interfaceName" value="com.xyz.Facade" /> | |
</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
<?xml version="1.0" encoding="UTF-8"?> | |
<plugins> | |
<plugin> | |
<groupId>org.jacoco</groupId> | |
<artifactId>jacoco-maven-plugin</artifactId> | |
<version>0.6.4.201312101107</version> | |
<executions> | |
<execution> | |
<id>prepare-agent</id> | |
<goals> |
OlderNewer