|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picocontainer.defaults.AbstractMonitoringLifecycleStrategy
public abstract class AbstractMonitoringLifecycleStrategy
Abstract base class for lifecycle strategy implementation supporting a ComponentMonitor
.
Field Summary | |
---|---|
private ComponentMonitor |
componentMonitor
|
Constructor Summary | |
---|---|
AbstractMonitoringLifecycleStrategy(ComponentMonitor monitor)
Construct a AbstractMonitoringLifecylceStrategy. |
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.LifecycleStrategy |
---|
dispose, hasLifecycle, start, stop |
Field Detail |
---|
private ComponentMonitor componentMonitor
Constructor Detail |
---|
public AbstractMonitoringLifecycleStrategy(ComponentMonitor monitor)
monitor
- the componentMonitor to use
java.lang.NullPointerException
- if the monitor is null
Method Detail |
---|
public void changeMonitor(ComponentMonitor monitor)
ComponentMonitorStrategy
changeMonitor
in interface ComponentMonitorStrategy
monitor
- the new ComponentMonitor to usepublic ComponentMonitor currentMonitor()
ComponentMonitorStrategy
currentMonitor
in interface ComponentMonitorStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |