Package net.bull.javamelody
package net.bull.javamelody
-
ClassDescriptionServlet de collecte utilisée uniquement pour le serveur de collecte (
CollectorServer) séparé de l'application monitorée.MXBean which exposesCounterRequestAggregationdata via JMX.Servlet filter to customize resources in html reports, such as css file.
For example, add the following, before the monitoring filter, in the web.xml file of your webapp, in order to use your own css or icons:Interface commune aux 3 implémentations de Loggers JavaMelody.Driver jdbc "proxy" pour le monitoring.Cette classe est utile pour construire des proxy deDataSources ou deConnections jdbc.
Et notamment elle rebinde dans l'annuaire JNDI la dataSource jdbc en la remplaçant par un proxy de monitoring.Persistence provider pour monitorer JPA.Cette classe est utile pour construire des proxy pour JPA.ActionListenerJSF RI (Mojarra) pour avoir les temps moyens des actions JSF.Appender pour les logs de log4j2, configuré automatiquement parMonitoringFilter.Appender pour les logs de log4j, configuré automatiquement parMonitoringFilter.Appender pour les logs de logback, configuré automatiquement parMonitoringFilter.Handler pour les logs de java.util.logging, configuré automatiquement parMonitoringFilter.Launcher class for stand-alone execution of JavaMelody Monitoring as java -jar javamelody.war.Cette classe est utile pour construire des proxy pour MongoDB.Annotation to mark classes and/or methods that should be monitored byMonitoringCdiInterceptor.Pointcut that identifies methods/classes with theAsync,Scheduledand Schedules annotation.Pointcut that identifies methods/classes with theController, RestController andServiceannotations.Pointcut that identifies methods/classes with theMonitoredWithSpringannotation.Annotation to mark classes and/or methods that should be monitored.Pointcut that identifies methods/classes with an interface.Annotation to mark classes and/or methods that should be monitored byMonitoringSpringInterceptor.Intercepteur pour CDI & pour EJB 3.1 (Java EE 6+), non activé par défaut.Intercepteur pour CDI & pour EJB 3.1 (Java EE 6+).Filtre de servlet pour le monitoring.Method interceptor that measures the duration of the intercepted call using Google Guice.Module Guice pour configurer l'intercepteur de monitoring utilisant l'annotationMonitoredWithGuice, sur des classes et/ou sur des méthodes.
Ce module fait simplement:
// for annotated methods with MonitoredWithGuice
bindInterceptor(Matchers.any(), Matchers.annotatedWith(MonitoredWithGuice.class), new MonitoringGuiceInterceptor());
// and for annotated classes with MonitoredWithGuice
bindInterceptor(Matchers.annotatedWith(MonitoredWithGuice.class), Matchers.any(), new MonitoringGuiceInterceptor());Expérimental: Factory d'InitialContext JNDI interposant des proxy du contexte, des dataSources, des connexions et des statements jdbc en complément pour le cas où le rebinding dans JNDI de JdbcWrapper.rebindDataSources ne fonctionne pas.Intercepteur pour EJB 3 (Java EE 5+).Proxy de monitoring pour tout façade ayant une interface.Advisor Spring dont l'advice est par défaut une instance deMonitoringSpringInterceptor.Method interceptor that measures the duration of the intercepted call.Intercepteur pour EJB 3, alternatif àMonitoringInterceptor.Liste des paramètres, tous optionnels.Simple Wrapper class to inspect payload for name.Abstract Filter of monitoring JavaMelody for Jenkins/JIRA/Bamboo/Confluence with emulatedSessionListener.Alternative report servlet.
Note that this servlet is rarely needed, because the ...Listener de session http (HttpSessionListener) pour le monitoring.Enregistrement du context Spring.Post-processor Spring pour une éventuelleDataSourcedéfini dans le fichier xml Spring.SpringFactoryBeanfor wrapping datasources with monitoring proxy.Post-processor Spring pour une éventuelle interfaceElasticsearchOperationsdéfinie dans le fichier xml Spring.Post-processor Spring pour une éventuelleMongoDbFactorydéfinie dans le fichier xml Spring.Post-processor Spring pour un éventuelRestTemplatedéfini dans le fichier xml Spring.Interceptor for SpringRestTemplate.Stopwatch to record execution times of a piece of code in the services statistics.Interceptor Struts 2 pour avoir les temps moyens des actions Struts.