commit | 244430f3c332756b61abbfce1c80385cb54345af | [log] [tgz] |
---|---|---|
author | Carsten Ziegeler <cziegeler@apache.org> | Thu Dec 20 12:24:32 2012 +0000 |
committer | Carsten Ziegeler <cziegeler@apache.org> | Thu Dec 20 12:24:32 2012 +0000 |
tree | dd79724cbfb35d22b3f394cd4f8c5582aa472775 | |
parent | 1ead92f7ef3b11c0f129a3d14fbe2edcb6e0f453 [diff] |
FELIX-3810 : @org.osgi.service.component.annotations.Component configurationPolicy attribute not processed correctly by DSAnnotationProcessor . Apply patch from Stephen Flynn git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1424430 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/ds-annotations/src/main/java/org/apache/felix/scrplugin/ds/DSAnnotationProcessor.java b/scrplugin/ds-annotations/src/main/java/org/apache/felix/scrplugin/ds/DSAnnotationProcessor.java index fedcef0..b8778ba 100644 --- a/scrplugin/ds-annotations/src/main/java/org/apache/felix/scrplugin/ds/DSAnnotationProcessor.java +++ b/scrplugin/ds-annotations/src/main/java/org/apache/felix/scrplugin/ds/DSAnnotationProcessor.java
@@ -201,7 +201,7 @@ } // configuration policy - component.setConfigurationPolicy(ComponentConfigurationPolicy.valueOf(cad.getEnumValue("policy", + component.setConfigurationPolicy(ComponentConfigurationPolicy.valueOf(cad.getEnumValue("configurationPolicy", ComponentConfigurationPolicy.OPTIONAL.name()))); // configuration pid