SLING-3038 - move constants to BindingsValuesProvider

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1521017 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/sling/scripting/api/BindingsValuesProvider.java b/src/main/java/org/apache/sling/scripting/api/BindingsValuesProvider.java
index a5b18b9..4dd869b 100644
--- a/src/main/java/org/apache/sling/scripting/api/BindingsValuesProvider.java
+++ b/src/main/java/org/apache/sling/scripting/api/BindingsValuesProvider.java
@@ -26,6 +26,17 @@
  */
 public interface BindingsValuesProvider {
 
+    /** The name of the multi-value service property that defines the context(s) to which 
+     *  a BindingsValuesProvider applies. This service property is optional, if not set
+     *  the default value is {@link @DEFAULT_CONTEXT}  
+     */
+    String CONTEXT = "context";
+    
+    /** The default value of the CONTEXT service property, used for compatibility with
+     *  previous versions of this bundle that didn't require it. 
+     */
+    String DEFAULT_CONTEXT = "request";
+    
     /**
      * Add objects to the Bindings object. The Bindings
      * object passed to this method does not support replacing
diff --git a/src/main/java/org/apache/sling/scripting/api/BindingsValuesProvidersByContext.java b/src/main/java/org/apache/sling/scripting/api/BindingsValuesProvidersByContext.java
index ece2cc6..1328b86 100644
--- a/src/main/java/org/apache/sling/scripting/api/BindingsValuesProvidersByContext.java
+++ b/src/main/java/org/apache/sling/scripting/api/BindingsValuesProvidersByContext.java
@@ -29,16 +29,6 @@
  *  */
 public interface BindingsValuesProvidersByContext {
     
-    /** The name of the multi-value service property that defines the context(s) to which 
-     *  a BindingsValuesProvider applies. 
-     */
-    String CONTEXT = "context";
-    
-    /** The default value of the CONTEXT service property, used for compatibility with
-     *  previous versions of this bundle that didn't require it. 
-     */
-    String DEFAULT_CONTEXT = "request";
-    
     /** Retrieve the current {@link BindingsValuesProvider} for
      *  the supplied ScriptEngineFactory and context.
      *