public class MBeanExposer extends AbstractContainerLifecycleListener implements MonitoringStatisticsListener
| Constructor and Description |
|---|
MBeanExposer() |
| Modifier and Type | Method and Description |
|---|---|
void |
onShutdown(Container container)
Invoke at the
container shut-down. |
void |
onStatistics(MonitoringStatistics statistics)
The method is called when new statistics are available and statistics are passed as an argument.
|
onReload, onStartuppublic void onStatistics(MonitoringStatistics statistics)
MonitoringStatisticsListeneronStatistics in interface MonitoringStatisticsListenerstatistics - Newly calculated monitoring statistics.public void onShutdown(Container container)
ContainerLifecycleListenercontainer shut-down. This method is invoked even before
the application is being stopped as a part of reload.onShutdown in interface ContainerLifecycleListeneronShutdown in class AbstractContainerLifecycleListenercontainer - container that has been shut down.Copyright © 2007-2024,Oracleand/or its affiliates.All Rights Reserved. Use is subject to license terms.