Skip to main content

Source code revision

svn

summary: 1) Monitoring mbean object name change to follow convention for consistency. 2) Fix object names also in gui
revision: 31229
author: jc129909
date: 2009-09-10 15:08:07 UTC (7 years)
message: 1) Monitoring mbean object name change to follow convention for consistency.
2) Fix object names also in gui
3) Return Statistic objects instead of primitives in the jvm statistics.

Add @AMXMetadata to the StatsProvider
import org.glassfish.gmbal.AMXMetadata;

@AMXMetadata(type="web-request-mon", group="monitoring")
@ManagedObject
@Description("Web Request Statistics")
public class WebRequestStatsProvider {

Specify type from XxxxXxxxStatsProvider:
1. Use all lower case
2. Use dashes to separate words
3. Replace StatsProvider with the suffix -mon
4. To the extent possible, be backward compatible with v2

Example:
old: amx:pp=/mon/server-mon[server],type=WebRequestStatsProvider,name=applications/hello/server
new: amx:pp=/mon/server-mon[server],type=web-request-mon,name=applications/hello/server
Change Path Actions
M trunk/v3/admin/monitor/src/main/java/org/glassfish/admin/monitor/jvm/JVMClassLoadingStatsProvider.java
M trunk/v3/admin/monitor/src/main/java/org/glassfish/admin/monitor/jvm/JVMCompilationStatsProvider.java
M trunk/v3/admin/monitor/src/main/java/org/glassfish/admin/monitor/jvm/JVMGCStatsProvider.java
M trunk/v3/admin/monitor/src/main/java/org/glassfish/admin/monitor/jvm/JVMMemoryStatsProvider.java
M trunk/v3/admin/monitor/src/main/java/org/glassfish/admin/monitor/jvm/JVMOSStatsProvider.java
M trunk/v3/admin/monitor/src/main/java/org/glassfish/admin/monitor/jvm/JVMRuntimeStatsProvider.java
M trunk/v3/admingui/web/src/main/resources/monitor/monitoringAppStatsPage.jsf
M trunk/v3/admingui/web/src/main/resources/monitor/monitoringServerStatsPage.jsf
M trunk/v3/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/monitor/ConnectorConnPoolStatsProvider.java
M trunk/v3/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/monitor/JdbcConnPoolStatsProvider.java
M trunk/v3/connectors/work-management/src/main/java/com/sun/enterprise/connectors/work/monitor/WorkManagementStatsProvider.java
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/stats/ConnectionsStatsProvider.java
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/stats/FileCacheStatsProvider.java
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/stats/KeepAliveStatsProvider.java
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/stats/ThreadPoolStatsProvider.java
M trunk/v3/ejb/ejb-container/src/main/java/com/sun/ejb/monitoring/stats/EjbCacheStatsProvider.java
M trunk/v3/ejb/ejb-container/src/main/java/com/sun/ejb/monitoring/stats/EjbMethodStatsProvider.java
M trunk/v3/ejb/ejb-container/src/main/java/com/sun/ejb/monitoring/stats/EjbMonitoringStatsProvider.java
M trunk/v3/ejb/ejb-container/src/main/java/com/sun/ejb/monitoring/stats/EjbPoolStatsProvider.java
M trunk/v3/ejb/ejb-container/src/main/java/com/sun/ejb/monitoring/stats/EjbTimedObjectStatsProvider.java
M trunk/v3/ejb/ejb-container/src/main/java/com/sun/ejb/monitoring/stats/EntityBeanStatsProvider.java
M trunk/v3/ejb/ejb-container/src/main/java/org/glassfish/ejb/security/application/EjbSecurityStatsProvider.java
M trunk/v3/security/core/src/main/java/com/sun/enterprise/security/WebSecurityDeployerStatsProvider.java
M trunk/v3/security/core/src/main/java/com/sun/enterprise/security/auth/realm/RealmStatsProvider.java
M trunk/v3/security/webintegration/src/main/java/com/sun/web/security/LoginStatsProvider.java
M trunk/v3/transaction/jta/src/main/java/com/sun/enterprise/transaction/monitoring/TransactionServiceStatsProvider.java
M trunk/v3/web/admin/src/main/java/org/glassfish/web/admin/monitor/HttpServiceStatsProvider.java
M trunk/v3/web/admin/src/main/java/org/glassfish/web/admin/monitor/JspStatsProvider.java
M trunk/v3/web/admin/src/main/java/org/glassfish/web/admin/monitor/ServletStatsProvider.java
M trunk/v3/web/admin/src/main/java/org/glassfish/web/admin/monitor/SessionStatsProvider.java
M trunk/v3/web/admin/src/main/java/org/glassfish/web/admin/monitor/WebRequestStatsProvider.java
M trunk/v3/webservices/jsr109-impl/src/main/java/org/glassfish/webservices/monitoring/WebServiceStatsProvider.java
 
 
Close
loading
Please Confirm
Close