Package org.picocontainer
Interface ComponentMonitorStrategy
-
- All Known Implementing Classes:
AbstractAdapter,AbstractBehavior,AbstractComponentMonitor,AbstractFieldInjector,AbstractInjector,AbstractMonitoringLifecycleStrategy,AnnotatedFieldInjector,AnnotatedMethodInjector,Automated,Cached,ComposingMonitor,CompositeInjector,ConstructorInjector,Decorated,DefaultClassLoadingPicoContainer,DefaultPicoContainer,DefaultPicoContainer.LateInstance,FieldDecorated,Guarded,HiddenImplementation,InstanceAdapter,Intercepted,IterativeInjector,JavaEE5LifecycleStrategy,Locked,MethodInjector,MethodInjector.ByMethodName,MethodInjector.ByReflectionMethod,MultiInjector,NamedFieldInjector,NamedMethodInjector,PropertyApplicator,ReflectionLifecycleStrategy,SetterInjector,SingleMemberInjector,StartableLifecycleStrategy,Stored,Synchronized,ThreadCached,TieringPicoContainer,TransientPicoContainer,TypedFieldInjector
public interface ComponentMonitorStrategyInterface responsible for changing monitoring strategy. It may be implemented by
containersand singlecomponent adapters. The choice of supporting the monitor strategy is left to the implementers of the container and adapters.- Author:
- Paul Hammant, Joerg Schaible, Mauro Talevi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidchangeMonitor(ComponentMonitor monitor)Changes the component monitor usedComponentMonitorcurrentMonitor()Returns the monitor currently used
-
-
-
Method Detail
-
changeMonitor
void changeMonitor(ComponentMonitor monitor)
Changes the component monitor used- Parameters:
monitor- the new ComponentMonitor to use
-
currentMonitor
ComponentMonitor currentMonitor()
Returns the monitor currently used- Returns:
- The ComponentMonitor currently used
-
-