/[Apache-SVN]
ViewVC logotype

Revision 770759


Jump to revision: Previous Next
Author: clement
Date: Fri May 1 17:10:39 2009 UTC (15 years, 6 months ago)
Changed paths: 17
Log Message:
Fix Felix-1114.
Provides a 'updated' attribute in 'Properties' specifying a method called when a reconfiguration is completed:
<properties updated="afterReconfiguration">
    <property ...>
</properties>

The specified method receives a Dictionary containing the <key,value> pairs

Provides the associated annotation:
@Updated
public void afterReconfiguration(Dictionary conf) {
    ...
}

Extend the API to support the 'updated' attribute (setUpdatedMethod(String method))

Add test checking the 'updated' attribute behavior on simple properties, ManagedService reconfiguration and ManagedServiceFactory reconfiguration.

Changed paths

Path Details
Directoryfelix/trunk/ipojo/annotations/src/main/java/org/apache/felix/ipojo/annotations/Updated.java added
Directoryfelix/trunk/ipojo/api/src/main/java/org/apache/felix/ipojo/api/PrimitiveComponentType.java modified , text changed
Directoryfelix/trunk/ipojo/core/src/main/java/org/apache/felix/ipojo/handlers/configuration/ConfigurationHandler.java modified , text changed
Directoryfelix/trunk/ipojo/manipulator/src/main/java/org/apache/felix/ipojo/manipulation/annotations/MethodCollector.java modified , text changed
Directoryfelix/trunk/ipojo/manipulator/src/main/resources/core.xsd modified , text changed
Directoryfelix/trunk/ipojo/tests/core/annotations/src/main/java/org/apache/felix/ipojo/test/scenarios/annotations/Properties.java modified , text changed
Directoryfelix/trunk/ipojo/tests/core/annotations/src/main/java/org/apache/felix/ipojo/test/scenarios/component/UpdatedWithManagedService.java added
Directoryfelix/trunk/ipojo/tests/core/annotations/src/main/java/org/apache/felix/ipojo/test/scenarios/component/UpdatedWithProperties.java added
Directoryfelix/trunk/ipojo/tests/core/configuration/pom.xml modified , text changed
Directoryfelix/trunk/ipojo/tests/core/configuration/src/main/java/org/apache/felix/ipojo/test/scenarios/component/FooProviderType1.java modified , text changed
Directoryfelix/trunk/ipojo/tests/core/configuration/src/main/java/org/apache/felix/ipojo/test/scenarios/component/FooProviderTypeDyn.java modified , text changed
Directoryfelix/trunk/ipojo/tests/core/configuration/src/main/java/org/apache/felix/ipojo/test/scenarios/configuration/ConfigurationTestSuite.java modified , text changed
Directoryfelix/trunk/ipojo/tests/core/configuration/src/main/java/org/apache/felix/ipojo/test/scenarios/configuration/UpdatedMethod.java added
Directoryfelix/trunk/ipojo/tests/core/configuration/src/main/java/org/apache/felix/ipojo/test/scenarios/configuration/UpdatedMethodAndManagedService.java added
Directoryfelix/trunk/ipojo/tests/core/configuration/src/main/java/org/apache/felix/ipojo/test/scenarios/configuration/UpdatedMethodAndManagedServiceFactory.java added
Directoryfelix/trunk/ipojo/tests/core/configuration/src/main/java/org/apache/felix/ipojo/test/scenarios/util/Utils.java modified , text changed
Directoryfelix/trunk/ipojo/tests/core/configuration/src/main/resources/metadata.xml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26