Package org.apache.felix.dm
Interface ComponentStateListener
public interface ComponentStateListener
This interface can be used to register a component state listener. Component
state listeners are called whenever a component state changes. You get notified
when the internal component state is changed, when the component is starting,
started, stopping and stopped. Each callback includes a reference to the component in question.
- Author:
- Felix Project Team
-
Method Summary
Modifier and TypeMethodDescriptionvoidchanged(Component c, ComponentState state) Called on each component state change.
-
Method Details
-
changed
Called on each component state change.- Parameters:
c- the componentstate- the new component state
-