myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r1197572 - in /myfaces/extensions/cdi/trunk/jse-modules/scripting-module: api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/ impl/src/main/java/org/...
Date Fri, 04 Nov 2011 13:57:09 GMT
Author: gpetracek
Date: Fri Nov  4 13:57:08 2011
New Revision: 1197572

URL: http://svn.apache.org/viewvc?rev=1197572&view=rev
Log:
EXTCDI-238 cleanup of the scripting module

Modified:
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/LanguageManager.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptBuilder.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptExecutor.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptLanguage.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptingModuleBeanNames.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/FreeMarker.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Groovy.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Java.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/JavaScript.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Language.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Python.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Ruby.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/DefaultLanguageManager.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/DefaultScriptBuilder.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/DefaultScriptExecutor.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/InjectableScriptEngine.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/ScriptEngineManagerProducer.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/ScriptingModuleStartupObserver.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/AbstractLanguageBean.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/BeanShellLanguageBean.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/FreeMarkerLanguageBean.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/GroovyLanguageBean.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/JRubyLanguageBean.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/JavaScriptLanguageBean.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/JythonLanguageBean.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/spi/ExternalExpressionInterpreter.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/spi/LanguageBean.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ArgumentAwareScriptHelperMap.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/DefaultExternalExpressionInterpreter.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ExceptionUtils.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ExpressionLanguageSelectionMap.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ScriptHelperMap.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ScriptingUtils.java
    myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/test/java/org/apache/myfaces/extensions/cdi/scripting/test/impl/SimpleScriptingTest.java

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/LanguageManager.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/LanguageManager.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/LanguageManager.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/LanguageManager.java
Fri Nov  4 13:57:08 2011
@@ -23,7 +23,7 @@ import org.apache.myfaces.extensions.cdi
 import java.io.Serializable;
 
 /**
- * @author Gerhard Petracek
+ * A language manager returns the name for the script-engine for a given type-safe language
key
  */
 public interface LanguageManager extends Serializable
 {

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptBuilder.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptBuilder.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptBuilder.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptBuilder.java
Fri Nov  4 13:57:08 2011
@@ -22,7 +22,7 @@ import javax.script.Bindings;
 import java.io.Serializable;
 
 /**
- * @author Gerhard Petracek
+ * Helper for building scripts
  */
 public interface ScriptBuilder extends Serializable
 {

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptExecutor.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptExecutor.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptExecutor.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptExecutor.java
Fri Nov  4 13:57:08 2011
@@ -23,7 +23,7 @@ import java.io.Serializable;
 import java.util.Map;
 
 /**
- * @author Gerhard Petracek
+ * Helper for executing scripts
  */
 public interface ScriptExecutor extends Serializable
 {

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptLanguage.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptLanguage.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptLanguage.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptLanguage.java
Fri Nov  4 13:57:08 2011
@@ -29,7 +29,7 @@ import static java.lang.annotation.Reten
 import static java.lang.annotation.ElementType.*;
 
 /**
- * @author Gerhard Petracek
+ * Qualifier for injecting a {@link ScriptExecutor}
  */
 @Qualifier
 

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptingModuleBeanNames.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptingModuleBeanNames.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptingModuleBeanNames.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/ScriptingModuleBeanNames.java
Fri Nov  4 13:57:08 2011
@@ -19,7 +19,7 @@
 package org.apache.myfaces.extensions.cdi.scripting.api;
 
 /**
- * @author Gerhard Petracek
+ * Names of CODI-beans resolvable by name
  */
 public interface ScriptingModuleBeanNames
 {

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/FreeMarker.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/FreeMarker.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/FreeMarker.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/FreeMarker.java
Fri Nov  4 13:57:08 2011
@@ -19,7 +19,7 @@
 package org.apache.myfaces.extensions.cdi.scripting.api.language;
 
 /**
- * @author Gerhard Petracek
+ * Type-safe language key
  */
 public interface FreeMarker extends Language
 {

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Groovy.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Groovy.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Groovy.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Groovy.java
Fri Nov  4 13:57:08 2011
@@ -19,7 +19,7 @@
 package org.apache.myfaces.extensions.cdi.scripting.api.language;
 
 /**
- * @author Gerhard Petracek
+ * Type-safe language key
  */
 public interface Groovy extends Language
 {

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Java.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Java.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Java.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Java.java
Fri Nov  4 13:57:08 2011
@@ -19,7 +19,7 @@
 package org.apache.myfaces.extensions.cdi.scripting.api.language;
 
 /**
- * @author Gerhard Petracek
+ * Type-safe language key
  */
 public interface Java extends Language
 {

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/JavaScript.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/JavaScript.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/JavaScript.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/JavaScript.java
Fri Nov  4 13:57:08 2011
@@ -19,7 +19,7 @@
 package org.apache.myfaces.extensions.cdi.scripting.api.language;
 
 /**
- * @author Gerhard Petracek
+ * Type-safe language key
  */
 public interface JavaScript extends Language
 {

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Language.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Language.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Language.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Language.java
Fri Nov  4 13:57:08 2011
@@ -21,7 +21,7 @@ package org.apache.myfaces.extensions.cd
 import java.io.Serializable;
 
 /**
- * @author Gerhard Petracek
+ * Type-safe language key
  */
 public interface Language extends Serializable
 {

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Python.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Python.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Python.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Python.java
Fri Nov  4 13:57:08 2011
@@ -19,7 +19,7 @@
 package org.apache.myfaces.extensions.cdi.scripting.api.language;
 
 /**
- * @author Gerhard Petracek
+ * Type-safe language key
  */
 public interface Python extends Language
 {

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Ruby.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Ruby.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Ruby.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/api/src/main/java/org/apache/myfaces/extensions/cdi/scripting/api/language/Ruby.java
Fri Nov  4 13:57:08 2011
@@ -19,7 +19,7 @@
 package org.apache.myfaces.extensions.cdi.scripting.api.language;
 
 /**
- * @author Gerhard Petracek
+ * Type-safe language key
  */
 public interface Ruby extends Language
 {

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/DefaultLanguageManager.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/DefaultLanguageManager.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/DefaultLanguageManager.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/DefaultLanguageManager.java
Fri Nov  4 13:57:08 2011
@@ -35,7 +35,7 @@ import java.util.Set;
 import java.util.concurrent.ConcurrentHashMap;
 
 /**
- * @author Gerhard Petracek
+ * Extensible default implementation of {@link LanguageManager}
  */
 @ApplicationScoped
 public class DefaultLanguageManager implements LanguageManager

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/DefaultScriptBuilder.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/DefaultScriptBuilder.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/DefaultScriptBuilder.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/DefaultScriptBuilder.java
Fri Nov  4 13:57:08 2011
@@ -35,7 +35,7 @@ import java.util.Map;
 import java.util.HashMap;
 
 /**
- * @author Gerhard Petracek
+ * Simple script builder
  */
 class DefaultScriptBuilder implements ScriptBuilder
 {

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/DefaultScriptExecutor.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/DefaultScriptExecutor.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/DefaultScriptExecutor.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/DefaultScriptExecutor.java
Fri Nov  4 13:57:08 2011
@@ -33,7 +33,7 @@ import javax.script.ScriptEngine;
 import java.util.Map;
 
 /**
- * @author Gerhard Petracek
+ * Simple script executor
  */
 @Typed()
 class DefaultScriptExecutor implements ScriptExecutor

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/InjectableScriptEngine.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/InjectableScriptEngine.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/InjectableScriptEngine.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/InjectableScriptEngine.java
Fri Nov  4 13:57:08 2011
@@ -30,7 +30,7 @@ import javax.script.ScriptException;
 import java.io.Reader;
 
 /**
- * @author Gerhard Petracek
+ * Serializable {@link ScriptEngine}
  */
 @Typed()
 class InjectableScriptEngine implements ScriptEngine

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/ScriptEngineManagerProducer.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/ScriptEngineManagerProducer.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/ScriptEngineManagerProducer.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/ScriptEngineManagerProducer.java
Fri Nov  4 13:57:08 2011
@@ -36,7 +36,7 @@ import javax.inject.Named;
 import java.util.Map;
 
 /**
- * @author Gerhard Petracek
+ * Producer for scripting artifacts
  */
 //TODO producers have to create serializable instances
 

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/ScriptingModuleStartupObserver.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/ScriptingModuleStartupObserver.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/ScriptingModuleStartupObserver.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/ScriptingModuleStartupObserver.java
Fri Nov  4 13:57:08 2011
@@ -27,7 +27,7 @@ import javax.enterprise.event.Observes;
 import java.util.logging.Level;
 
 /**
- * @author Gerhard Petracek
+ * Startup observer
  */
 @ApplicationScoped
 public class ScriptingModuleStartupObserver extends AbstractStartupObserver

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/AbstractLanguageBean.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/AbstractLanguageBean.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/AbstractLanguageBean.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/AbstractLanguageBean.java
Fri Nov  4 13:57:08 2011
@@ -21,7 +21,7 @@ package org.apache.myfaces.extensions.cd
 import org.apache.myfaces.extensions.cdi.scripting.impl.spi.LanguageBean;
 
 /**
- * @author Gerhard Petracek
+ * Base implementation of {@link LanguageBean}
  */
 public abstract class AbstractLanguageBean implements LanguageBean
 {

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/BeanShellLanguageBean.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/BeanShellLanguageBean.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/BeanShellLanguageBean.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/BeanShellLanguageBean.java
Fri Nov  4 13:57:08 2011
@@ -24,7 +24,7 @@ import org.apache.myfaces.extensions.cdi
 import javax.inject.Singleton;
 
 /**
- * @author Gerhard Petracek
+ * Type-safe language configuration
  */
 @Singleton
 public class BeanShellLanguageBean extends AbstractLanguageBean

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/FreeMarkerLanguageBean.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/FreeMarkerLanguageBean.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/FreeMarkerLanguageBean.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/FreeMarkerLanguageBean.java
Fri Nov  4 13:57:08 2011
@@ -24,7 +24,7 @@ import org.apache.myfaces.extensions.cdi
 import javax.inject.Singleton;
 
 /**
- * @author Gerhard Petracek
+ * Type-safe language configuration
  */
 @Singleton
 public class FreeMarkerLanguageBean extends AbstractLanguageBean

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/GroovyLanguageBean.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/GroovyLanguageBean.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/GroovyLanguageBean.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/GroovyLanguageBean.java
Fri Nov  4 13:57:08 2011
@@ -24,7 +24,7 @@ import org.apache.myfaces.extensions.cdi
 import javax.inject.Singleton;
 
 /**
- * @author Gerhard Petracek
+ * Type-safe language configuration
  */
 @Singleton
 public class GroovyLanguageBean extends AbstractLanguageBean

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/JRubyLanguageBean.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/JRubyLanguageBean.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/JRubyLanguageBean.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/JRubyLanguageBean.java
Fri Nov  4 13:57:08 2011
@@ -24,7 +24,7 @@ import org.apache.myfaces.extensions.cdi
 import javax.inject.Singleton;
 
 /**
- * @author Gerhard Petracek
+ * Type-safe language configuration
  */
 @Singleton
 public class JRubyLanguageBean extends AbstractLanguageBean

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/JavaScriptLanguageBean.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/JavaScriptLanguageBean.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/JavaScriptLanguageBean.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/JavaScriptLanguageBean.java
Fri Nov  4 13:57:08 2011
@@ -24,7 +24,7 @@ import org.apache.myfaces.extensions.cdi
 import javax.inject.Singleton;
 
 /**
- * @author Gerhard Petracek
+ * Type-safe language configuration
  */
 @Singleton
 public class JavaScriptLanguageBean extends AbstractLanguageBean

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/JythonLanguageBean.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/JythonLanguageBean.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/JythonLanguageBean.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/language/JythonLanguageBean.java
Fri Nov  4 13:57:08 2011
@@ -24,7 +24,7 @@ import org.apache.myfaces.extensions.cdi
 import javax.inject.Singleton;
 
 /**
- * @author Gerhard Petracek
+ * Type-safe language configuration
  */
 @Singleton
 public class JythonLanguageBean extends AbstractLanguageBean

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/spi/ExternalExpressionInterpreter.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/spi/ExternalExpressionInterpreter.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/spi/ExternalExpressionInterpreter.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/spi/ExternalExpressionInterpreter.java
Fri Nov  4 13:57:08 2011
@@ -19,7 +19,7 @@
 package org.apache.myfaces.extensions.cdi.scripting.impl.spi;
 
 /**
- * @author Gerhard Petracek
+ * Allows to pre-process scripts e.g. for replacing EL-expressions with the evaluated values
  */
 public interface ExternalExpressionInterpreter
 {

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/spi/LanguageBean.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/spi/LanguageBean.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/spi/LanguageBean.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/spi/LanguageBean.java
Fri Nov  4 13:57:08 2011
@@ -21,7 +21,7 @@ package org.apache.myfaces.extensions.cd
 import org.apache.myfaces.extensions.cdi.scripting.api.language.Language;
 
 /**
- * @author Gerhard Petracek
+ * Allows to provide custom configurations for scripting languages
  */
 public interface LanguageBean extends Language
 {

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ArgumentAwareScriptHelperMap.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ArgumentAwareScriptHelperMap.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ArgumentAwareScriptHelperMap.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ArgumentAwareScriptHelperMap.java
Fri Nov  4 13:57:08 2011
@@ -22,7 +22,7 @@ import javax.enterprise.inject.Typed;
 import java.util.HashMap;
 
 /**
- * @author Gerhard Petracek
+ * Helper used by {@link ScriptHelperMap}
  */
 @Typed()
 class ArgumentAwareScriptHelperMap extends ScriptHelperMap

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/DefaultExternalExpressionInterpreter.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/DefaultExternalExpressionInterpreter.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/DefaultExternalExpressionInterpreter.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/DefaultExternalExpressionInterpreter.java
Fri Nov  4 13:57:08 2011
@@ -23,7 +23,7 @@ import org.apache.myfaces.extensions.cdi
 import javax.enterprise.inject.Typed;
 
 /**
- * @author Gerhard Petracek
+ * Placeholder which returns the script as it is
  */
 @Typed()
 class DefaultExternalExpressionInterpreter implements ExternalExpressionInterpreter

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ExceptionUtils.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ExceptionUtils.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ExceptionUtils.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ExceptionUtils.java
Fri Nov  4 13:57:08 2011
@@ -26,7 +26,7 @@ import org.apache.myfaces.extensions.cdi
 import javax.enterprise.inject.Typed;
 
 /**
- * @author Gerhard Petracek
+ * Helper methods for exceptions
  */
 @Typed()
 public abstract class ExceptionUtils

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ExpressionLanguageSelectionMap.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ExpressionLanguageSelectionMap.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ExpressionLanguageSelectionMap.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ExpressionLanguageSelectionMap.java
Fri Nov  4 13:57:08 2011
@@ -23,7 +23,7 @@ import org.apache.myfaces.extensions.cdi
 import javax.enterprise.inject.Typed;
 
 /**
- * @author Gerhard Petracek
+ * Helper for using server-side scripting within EL-expressions
  */
 @Typed()
 class ExpressionLanguageSelectionMap extends UnmodifiableMap<String, Object>

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ScriptHelperMap.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ScriptHelperMap.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ScriptHelperMap.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ScriptHelperMap.java
Fri Nov  4 13:57:08 2011
@@ -31,7 +31,7 @@ import javax.script.Bindings;
 import java.util.Map;
 
 /**
- * @author Gerhard Petracek
+ * Basic helper for using server-side scripting within EL-expressions
  */
 @Typed()
 class ScriptHelperMap extends UnmodifiableMap<String, Object>

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ScriptingUtils.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ScriptingUtils.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ScriptingUtils.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/scripting/impl/util/ScriptingUtils.java
Fri Nov  4 13:57:08 2011
@@ -29,7 +29,7 @@ import javax.script.ScriptEngine;
 import javax.script.ScriptEngineManager;
 
 /**
- * @author Gerhard Petracek
+ * Helper methods for scripting artifacts
  */
 @Typed()
 public abstract class ScriptingUtils

Modified: myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/test/java/org/apache/myfaces/extensions/cdi/scripting/test/impl/SimpleScriptingTest.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/test/java/org/apache/myfaces/extensions/cdi/scripting/test/impl/SimpleScriptingTest.java?rev=1197572&r1=1197571&r2=1197572&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/test/java/org/apache/myfaces/extensions/cdi/scripting/test/impl/SimpleScriptingTest.java
(original)
+++ myfaces/extensions/cdi/trunk/jse-modules/scripting-module/impl/src/test/java/org/apache/myfaces/extensions/cdi/scripting/test/impl/SimpleScriptingTest.java
Fri Nov  4 13:57:08 2011
@@ -35,7 +35,7 @@ import static org.junit.Assert.assertEqu
 import static org.junit.Assert.fail;
 
 /**
- * @author Gerhard Petracek
+ * Tests of injecting scripting artifacts
  */
 @RunWith(JUnit4.class)
 public class SimpleScriptingTest extends AbstractCdiAwareTest



Mime
View raw message