public interface ComponentMonitorStrategy
Interface responsible for changing monitoring strategy.
It may be implemented by containers
and
single component adapters
.
The choice of supporting the monitor strategy is left to the
implementers of the container and adapters.
Modifier and Type | Method and Description |
---|---|
void |
changeMonitor(ComponentMonitor monitor)
Changes the component monitor used
|
ComponentMonitor |
currentMonitor()
Returns the monitor currently used
|
void changeMonitor(ComponentMonitor monitor)
monitor
- the new ComponentMonitor to useComponentMonitor currentMonitor()
Copyright © 2003–2016 Codehaus. All rights reserved.