public abstract class AbstractMonitoringLifecycleStrategy extends java.lang.Object implements LifecycleStrategy, ComponentMonitorStrategy, java.io.Serializable
ComponentMonitor.| Modifier and Type | Field and Description |
|---|---|
private ComponentMonitor |
componentMonitor |
| Constructor and Description |
|---|
AbstractMonitoringLifecycleStrategy(ComponentMonitor monitor)
Construct a AbstractMonitoringLifecylceStrategy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
changeMonitor(ComponentMonitor monitor)
Changes the component monitor used
|
ComponentMonitor |
currentMonitor()
Returns the monitor currently used
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, hasLifecycle, start, stopprivate ComponentMonitor componentMonitor
public AbstractMonitoringLifecycleStrategy(ComponentMonitor monitor)
monitor - the componentMonitor to usejava.lang.NullPointerException - if the monitor is nullpublic void changeMonitor(ComponentMonitor monitor)
ComponentMonitorStrategychangeMonitor in interface ComponentMonitorStrategymonitor - the new ComponentMonitor to usepublic ComponentMonitor currentMonitor()
ComponentMonitorStrategycurrentMonitor in interface ComponentMonitorStrategy