FELIX-2298 : Component annotation: getConfigurationFactory should be named configurationFactory
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@936755 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr-annotations/pom.xml b/scr-annotations/pom.xml
index 49fd861..52cf5b4 100644
--- a/scr-annotations/pom.xml
+++ b/scr-annotations/pom.xml
@@ -29,7 +29,7 @@
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr.annotations</artifactId>
- <version>1.2.1-SNAPSHOT</version>
+ <version>1.3.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Annotations for SCR</name>
diff --git a/scr-annotations/src/main/java/org/apache/felix/scr/annotations/Component.java b/scr-annotations/src/main/java/org/apache/felix/scr/annotations/Component.java
index 76db817..e67ba5c 100644
--- a/scr-annotations/src/main/java/org/apache/felix/scr/annotations/Component.java
+++ b/scr-annotations/src/main/java/org/apache/felix/scr/annotations/Component.java
@@ -125,10 +125,17 @@
/**
* Set the metatype factory pid property (only for non factory components).
* @since 1.0
+ * @deprecated Use {@link #configurationFactory()}
*/
boolean getConfigurationFactory() default false;
/**
+ * Set the metatype factory pid property (only for non factory components).
+ * @since 1.3
+ */
+ boolean configurationFactory() default false;
+
+ /**
* The configuration policy
* @since 1.0
*/