You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by pd...@apache.org on 2016/02/22 11:20:01 UTC

svn commit: r1731614 - /felix/trunk/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/ConfigurationDependency.java

Author: pderop
Date: Mon Feb 22 10:20:00 2016
New Revision: 1731614

URL: http://svn.apache.org/viewvc?rev=1731614&view=rev
Log:
FELIX-5177: fixed javadoc.

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

Modified: felix/trunk/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/ConfigurationDependency.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/ConfigurationDependency.java?rev=1731614&r1=1731613&r2=1731614&view=diff
==============================================================================
--- felix/trunk/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/ConfigurationDependency.java (original)
+++ felix/trunk/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/ConfigurationDependency.java Mon Feb 22 10:20:00 2016
@@ -33,7 +33,7 @@ import aQute.bnd.annotation.ProviderType
  * you can use 
  * {@link DependencyManager#createFactoryConfigurationAdapterService(String, String, boolean)}.
  * There are a couple of things you need to be aware of when implementing the 
- * <code>updated(Dictionary)</code> method:
+ * <code>updated(Dictionary)</code> method:<p>
  * <ul>
  * <li>Make sure it throws a <code>ConfigurationException</code> or any other exception when you 
  * get a configuration that is invalid. In this case, the dependency will not change: 
@@ -49,14 +49,14 @@ import aQute.bnd.annotation.ProviderType
  * <li>When the DM component is stopped, then updated(null) is not invoked.
  * </ul>
  * 
- * The callback invoked when a configuration dependency is updated can supports the following signatures:<p>
+ * <p> The callback invoked when a configuration dependency is updated can supports the following signatures:<p>
  * <ul><li> updated(Dictionary)
  *     <li> updated(Component, Dictionary)
- *     <li> updated(Configuration interface)
- *     <li> updated(Component, Configuration interface)
+ *     <li> updated(ConfigurationType)
+ *     <li> updated(Component, ConfigurationType)
  * </ul>
  * 
- * <p> Configuration interface is a new feature that allows you to specify an interface that is implemented 
+ * <p> Support for a custom Configuration type is a new feature that allows you to specify an interface that is implemented 
  * by DM and such interface is then injected to your callback instead of the actual Dictionary.
  * Using such configuration interface provides a way for creating type-safe configurations from a actual {@link Dictionary} that is
  * normally injected by Dependency Manager.