File tree Expand file tree Collapse file tree 4 files changed +12
-17
lines changed
java/org/springframework/scripting/jruby
resources/org/springframework/scripting/config Expand file tree Collapse file tree 4 files changed +12
-17
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ configure(allprojects) { project ->
49
49
ext. javamailVersion = " 1.5.4"
50
50
ext. jettyVersion = " 9.3.1.v20150714"
51
51
ext. jodaVersion = " 2.8.1"
52
- ext. jrubyVersion = " 1.7.21"
52
+ ext. jrubyVersion = " 1.7.21" // JRuby 9.0.0.0 only supported through JSR-223 (StandardScriptFactory)
53
53
ext. jtaVersion = " 1.2"
54
54
ext. junitVersion = " 4.12"
55
55
ext. nettyVersion = " 4.0.29.Final"
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2013 the original author or authors.
2
+ * Copyright 2002-2015 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
38
38
* see the latter's javadoc for a configuration example.
39
39
*
40
40
* <p>Note: Spring 4.0 supports JRuby 1.5 and higher.
41
+ * As of Spring 4.2, JRuby 9.0.0.0 is supported but only through
42
+ * {@link org.springframework.scripting.support.StandardScriptFactory}.
41
43
*
42
44
* @author Juergen Hoeller
43
45
* @author Rob Harrop
44
46
* @since 2.0
45
47
* @see JRubyScriptUtils
46
48
* @see org.springframework.scripting.support.ScriptFactoryPostProcessor
49
+ * @deprecated in favor of JRuby support via the JSR-223 abstraction
50
+ * ({@link org.springframework.scripting.support.StandardScriptFactory})
47
51
*/
52
+ @ Deprecated
48
53
public class JRubyScriptFactory implements ScriptFactory , BeanClassLoaderAware {
49
54
50
55
private final String scriptSourceLocator ;
Original file line number Diff line number Diff line change 45
45
* Utility methods for handling JRuby-scripted objects.
46
46
*
47
47
* <p>Note: Spring 4.0 supports JRuby 1.5 and higher.
48
+ * As of Spring 4.2, JRuby 9.0.0.0 is supported but only through
49
+ * {@link org.springframework.scripting.support.StandardScriptFactory}.
48
50
*
49
51
* @author Rob Harrop
50
52
* @author Juergen Hoeller
51
53
* @author Rick Evans
52
54
* @since 2.0
55
+ * @deprecated in favor of JRuby support via the JSR-223 abstraction
56
+ * ({@link org.springframework.scripting.support.StandardScriptFactory})
53
57
*/
58
+ @ Deprecated
54
59
public abstract class JRubyScriptUtils {
55
60
56
61
/**
Original file line number Diff line number Diff line change 44
44
</xsd : complexType >
45
45
</xsd : element >
46
46
47
- <xsd : element name =" jruby" >
48
- <xsd : annotation >
49
- <xsd : documentation ><![CDATA[
50
- A Spring bean backed by a JRuby class definition.
51
- ]]> </xsd : documentation >
52
- </xsd : annotation >
53
- <xsd : complexType >
54
- <xsd : complexContent >
55
- <xsd : extension base =" dynamicScriptType" >
56
- <xsd : attributeGroup ref =" vanillaScriptAttributes" />
57
- </xsd : extension >
58
- </xsd : complexContent >
59
- </xsd : complexType >
60
- </xsd : element >
61
-
62
47
<xsd : element name =" bsh" >
63
48
<xsd : annotation >
64
49
<xsd : documentation ><![CDATA[
You can’t perform that action at this time.
0 commit comments