FELIX-1893 Remove ds.rebind.enabled configuration (not needed anymore since we now have a descriptor provided optional updated method)

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@887878 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/src/main/java/org/apache/felix/scr/impl/ScrCommand.java b/scr/src/main/java/org/apache/felix/scr/impl/ScrCommand.java
index 1d0b2ab..df3c2b7 100644
--- a/scr/src/main/java/org/apache/felix/scr/impl/ScrCommand.java
+++ b/scr/src/main/java/org/apache/felix/scr/impl/ScrCommand.java
@@ -355,7 +355,6 @@
         out.print( "Component Factory with Factory Configuration: " );
         out.println( scrConfiguration.isFactoryEnabled() ? "Supported" : "Unsupported" );
         out.print( "Update bound Service Properties: " );
-        out.println( scrConfiguration.isRebindEnabled() ? "Yes" : "No" );
     }
 
 
diff --git a/scr/src/main/java/org/apache/felix/scr/impl/config/ScrConfiguration.java b/scr/src/main/java/org/apache/felix/scr/impl/config/ScrConfiguration.java
index c72503b..7c35dae 100644
--- a/scr/src/main/java/org/apache/felix/scr/impl/config/ScrConfiguration.java
+++ b/scr/src/main/java/org/apache/felix/scr/impl/config/ScrConfiguration.java
@@ -45,8 +45,6 @@
 
     private static final String PROP_FACTORY_ENABLED = "ds.factory.enabled";
 
-    private static final String PROP_REBIND_ENABLED = "ds.rebind.enabled";
-
     private static final String PROP_LOGLEVEL = "ds.loglevel";
 
     private static final String LOG_LEVEL_DEBUG = "debug";
@@ -116,13 +114,11 @@
 
             logLevel = getLogLevel( bundleContext );
             factoryEnabled = VALUE_TRUE.equals( bundleContext.getProperty( PROP_FACTORY_ENABLED ) );
-            rebindEnabled = VALUE_TRUE.equals( bundleContext.getProperty( PROP_REBIND_ENABLED ) );
         }
         else
         {
             logLevel = ( ( Integer ) config.get( PROP_LOGLEVEL ) ).intValue();
             factoryEnabled = ( ( Boolean ) config.get( PROP_FACTORY_ENABLED ) ).booleanValue();
-            rebindEnabled = ( ( Boolean ) config.get( PROP_REBIND_ENABLED ) ).booleanValue();
         }
     }
 
@@ -139,12 +135,6 @@
     }
 
 
-    public boolean isRebindEnabled()
-    {
-        return rebindEnabled;
-    }
-
-
     private static int getLogLevel( BundleContext bundleContext )
     {
         String levelString = bundleContext.getProperty( PROP_LOGLEVEL );
diff --git a/scr/src/main/resources/OSGI-INF/metatype/metatype.properties b/scr/src/main/resources/OSGI-INF/metatype/metatype.properties
index 7d1c849..f8507eb 100644
--- a/scr/src/main/resources/OSGI-INF/metatype/metatype.properties
+++ b/scr/src/main/resources/OSGI-INF/metatype/metatype.properties
@@ -40,10 +40,3 @@
  Declarative Services specification. Reliance on this feature prevent the \
  component from being used with other Declarative Services implementations. \
  The default value is false to disable this feature.
-
-ds.rebind.enabled.name = Rebind Support
-ds.rebind.enabled.description = Whether or not to enable support for rebinding \
- of bound services whose registration properties have been modified. This is \
- an Apache Felix SCR specific extension filling the gap of the specification \
- which does not desribe whether and how such property updates should be \
- propagated. The default value is false to disable this feature.