|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.picocontainer.defaults.MonitoringComponentAdapterFactory
Abstract ComponentAdapterFactory supporting a
ComponentMonitorStrategy.
It provides a default ComponentMonitor,
but does not allow to use null for the component monitor.
ComponentAdapterFactory,
ComponentMonitorStrategy,
Serialized Form| Constructor Summary | |
protected |
MonitoringComponentAdapterFactory()
Constructs a MonitoringComponentAdapterFactory with a default monitor. |
protected |
MonitoringComponentAdapterFactory(ComponentMonitor monitor)
Constructs a MonitoringComponentAdapterFactory 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.defaults.ComponentAdapterFactory |
createComponentAdapter |
| Constructor Detail |
protected MonitoringComponentAdapterFactory(ComponentMonitor monitor)
monitor - the ComponentMonitor used by the factoryprotected MonitoringComponentAdapterFactory()
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 | ||||||||||