|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.picocontainer.defaults.MonitoringComponentAdapter
Abstract ComponentAdapter supporting a
ComponentMonitorStrategy.
It provides a default ComponentMonitor,
but does not allow to use null for the component monitor.
ComponentAdapter,
ComponentMonitorStrategy,
Serialized Form| Constructor Summary | |
protected |
MonitoringComponentAdapter()
Constructs a MonitoringComponentAdapter with a default monitor. |
protected |
MonitoringComponentAdapter(ComponentMonitor monitor)
Constructs a MonitoringComponentAdapter with a custom monitor |
| Method Summary | |
void |
changeMonitor(ComponentMonitor monitor)
Changes the component monitor used |
ComponentMonitor |
currentMonitor()
Returns the monitor currently used |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.picocontainer.ComponentAdapter |
accept, getComponentImplementation, getComponentInstance, getComponentKey, verify |
| Constructor Detail |
protected MonitoringComponentAdapter(ComponentMonitor monitor)
monitor - the component monitor used by this ComponentAdapterprotected MonitoringComponentAdapter()
default monitor.
| Method Detail |
public void changeMonitor(ComponentMonitor monitor)
ComponentMonitorStrategy
changeMonitor in interface ComponentMonitorStrategymonitor - the new ComponentMonitor to usepublic ComponentMonitor currentMonitor()
currentMonitor in interface ComponentMonitorStrategy
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||