Skip to main content

Source code revision

svn

summary: http://java.net/jira/browse/JAVASERVERFACES-3005
revision: 12453
author: edburns
date: 2013-08-27 17:40:47 UTC (1 year)
message: http://java.net/jira/browse/JAVASERVERFACES-3005

SECTION: Modified Files
----------------------------
A jsf-ri/src/main/java/com/sun/faces/scripting/WeldAwareGroovySupportFilter.java

- Use reflection to ensure the ACLSingletonProvider "Singleton not set
for" problem does not arise when using Groovy in a CDI enabled app.

M jsf-ri/src/main/java/com/sun/faces/scripting/GroovySupportFilter.java

- Modify this to do a cheap form of the strategy pattern, choosing the
strategy based on the presence or absence of CDI.

M jsf-ri/mojarra-jsf-impl.bnd

- Add an optional dependency on weld. According to JJ this should not
mess up non-weld-aware containers.

M test/scripting/groovy/pom.xml

- Add new test

A jsf-ri/src/main/java/com/sun/faces/scripting/NonWeldAwareGroovySupportFilter.java

- This is the previous GroovySupportFilter.

A test/scripting/groovy/weldAware
A test/scripting/groovy/weldAware/nbactions.xml
A test/scripting/groovy/weldAware/src
A test/scripting/groovy/weldAware/src/test
A test/scripting/groovy/weldAware/src/test/java
A test/scripting/groovy/weldAware/src/test/java/com
A test/scripting/groovy/weldAware/src/test/java/com/sun
A test/scripting/groovy/weldAware/src/test/java/com/sun/faces
A test/scripting/groovy/weldAware/src/test/java/com/sun/faces/test
A test/scripting/groovy/weldAware/src/test/java/com/sun/faces/test/scripting
A test/scripting/groovy/weldAware/src/test/java/com/sun/faces/test/scripting/groovyWeldAware
A test/scripting/groovy/weldAware/src/test/java/com/sun/faces/test/scripting/groovyWeldAware/Issue3005IT.java
A test/scripting/groovy/weldAware/src/main
A test/scripting/groovy/weldAware/src/main/java
A test/scripting/groovy/weldAware/src/main/java/com
A test/scripting/groovy/weldAware/src/main/java/com/sun
A test/scripting/groovy/weldAware/src/main/java/com/sun/faces
A test/scripting/groovy/weldAware/src/main/java/com/sun/faces/test
A test/scripting/groovy/weldAware/src/main/java/com/sun/faces/test/scripting
A test/scripting/groovy/weldAware/src/main/java/com/sun/faces/test/scripting/groovy
A test/scripting/groovy/weldAware/src/main/java/com/sun/faces/test/scripting/groovy/Name.java
A test/scripting/groovy/weldAware/src/main/java/com/sun/faces/scripting
A test/scripting/groovy/weldAware/src/main/resources
A test/scripting/groovy/weldAware/src/main/resources/runtime_overwrites
A test/scripting/groovy/weldAware/src/main/resources/runtime_overwrites/groovy
A test/scripting/groovy/weldAware/src/main/resources/runtime_overwrites/groovy/hello
A test/scripting/groovy/weldAware/src/main/resources/runtime_overwrites/groovy/hello/AgeComponent.groovy
A test/scripting/groovy/weldAware/src/main/webapp
A test/scripting/groovy/weldAware/src/main/webapp/WEB-INF
A test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/faces-config.xml
A test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy-taglib.xml
A test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy
A test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello
A test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/MessageRenderer.groovy
A test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/AgeComponent.groovy
A test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/MessageOutput.groovy
A test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/NameValidator.groovy
A test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/NameConverter.groovy
A test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/HelloBean.groovy
A test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/beans.xml
A test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/web.xml
A test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/glassfish-web.xml
A test/scripting/groovy/weldAware/src/main/webapp/hello.xhtml
A test/scripting/groovy/weldAware/src/main/webapp/submit.xhtml
A test/scripting/groovy/weldAware/pom.xml

- The new test.
Change Path Actions
M branches/MOJARRA_2_2X_ROLLING/jsf-ri/mojarra-jsf-impl.bnd
M branches/MOJARRA_2_2X_ROLLING/jsf-ri/src/main/java/com/sun/faces/scripting/GroovySupportFilter.java
A branches/MOJARRA_2_2X_ROLLING/jsf-ri/src/main/java/com/sun/faces/scripting/NonWeldAwareGroovySupportFilter.java
A branches/MOJARRA_2_2X_ROLLING/jsf-ri/src/main/java/com/sun/faces/scripting/WeldAwareGroovySupportFilter.java
M branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/pom.xml
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/nbactions.xml
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/pom.xml
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/java
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/java/com
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/java/com/sun
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/java/com/sun/faces
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/java/com/sun/faces/scripting
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/java/com/sun/faces/test
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/java/com/sun/faces/test/scripting
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/java/com/sun/faces/test/scripting/groovy
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/java/com/sun/faces/test/scripting/groovy/Name.java
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/resources
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/resources/runtime_overwrites
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/resources/runtime_overwrites/groovy
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/resources/runtime_overwrites/groovy/hello
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/resources/runtime_overwrites/groovy/hello/AgeComponent.groovy
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/webapp
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/webapp/WEB-INF
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/beans.xml
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/faces-config.xml
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/glassfish-web.xml
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy-taglib.xml
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/AgeComponent.groovy
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/HelloBean.groovy
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/MessageOutput.groovy
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/MessageRenderer.groovy
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/NameConverter.groovy
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/NameValidator.groovy
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/web.xml
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/webapp/hello.xhtml
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/main/webapp/submit.xhtml
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/test
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/test/java
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/test/java/com
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/test/java/com/sun
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/test/java/com/sun/faces
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/test/java/com/sun/faces/test
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/test/java/com/sun/faces/test/scripting
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/test/java/com/sun/faces/test/scripting/groovyWeldAware
A branches/MOJARRA_2_2X_ROLLING/test/scripting/groovy/weldAware/src/test/java/com/sun/faces/test/scripting/groovyWeldAware/Issue3005IT.java
 
 
Close
loading
Please Confirm
Close