SLING-1510 - adding ScriptEngineManagerFactory service interface

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@939173 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 62e37b6..aa9c3f1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -55,7 +55,7 @@
                 <configuration>
                     <instructions>
                         <Export-Package>
-                            org.apache.sling.scripting.api;version=2.1.0,
+                            org.apache.sling.scripting.api;version=2.2.0,
                             javax.script
                         </Export-Package>
                         <Private-Package>
diff --git a/src/main/java/org/apache/sling/scripting/api/ScriptEngineManagerFactory.java b/src/main/java/org/apache/sling/scripting/api/ScriptEngineManagerFactory.java
new file mode 100644
index 0000000..e79728c
--- /dev/null
+++ b/src/main/java/org/apache/sling/scripting/api/ScriptEngineManagerFactory.java
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with this
+ * work for additional information regarding copyright ownership. The ASF
+ * licenses this file to You under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package org.apache.sling.scripting.api;
+
+import javax.script.ScriptEngineManager;
+
+/**
+ * Service interface to access ScriptEngineManager instances.
+ *
+ */
+public interface ScriptEngineManagerFactory {
+
+    /**
+     * Get a ScriptEngineManager instance.
+     */
+    public ScriptEngineManager getScriptEngineManager();
+
+}