felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r1769023 - /felix/trunk/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/ComponentStateListener.java
Date Wed, 09 Nov 2016 22:27:11 GMT
Author: pderop
Date: Wed Nov  9 22:27:11 2016
New Revision: 1769023

URL: http://svn.apache.org/viewvc?rev=1769023&view=rev
Log:
FELIX-5403: enhanced javadoc.

Modified:
    felix/trunk/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/ComponentStateListener.java

Modified: felix/trunk/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/ComponentStateListener.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/ComponentStateListener.java?rev=1769023&r1=1769022&r2=1769023&view=diff
==============================================================================
--- felix/trunk/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/ComponentStateListener.java
(original)
+++ felix/trunk/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/ComponentStateListener.java
Wed Nov  9 22:27:11 2016
@@ -21,12 +21,17 @@ package org.apache.felix.dm;
 /**
  * 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 component is starting, started, stopping and stopped. Each callback
- * includes a reference to the component in question.
+ * 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 <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
  */
 public interface ComponentStateListener {
+	/**
+	 * Called on each component state change.
+	 * @param c the component
+	 * @param state the new component state
+	 */
     public void changed(Component c, ComponentState state);
     
     /**



Mime
View raw message