parent
d83735694e
commit
b74377932c
|
|
@ -49,7 +49,7 @@ configure(allprojects) { project ->
|
||||||
ext.javamailVersion = "1.5.4"
|
ext.javamailVersion = "1.5.4"
|
||||||
ext.jettyVersion = "9.3.1.v20150714"
|
ext.jettyVersion = "9.3.1.v20150714"
|
||||||
ext.jodaVersion = "2.8.1"
|
ext.jodaVersion = "2.8.1"
|
||||||
ext.jrubyVersion = "1.7.21"
|
ext.jrubyVersion = "1.7.21" // JRuby 9.0.0.0 only supported through JSR-223 (StandardScriptFactory)
|
||||||
ext.jtaVersion = "1.2"
|
ext.jtaVersion = "1.2"
|
||||||
ext.junitVersion = "4.12"
|
ext.junitVersion = "4.12"
|
||||||
ext.nettyVersion = "4.0.29.Final"
|
ext.nettyVersion = "4.0.29.Final"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2013 the original author or authors.
|
* Copyright 2002-2015 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -38,13 +38,18 @@ import org.springframework.util.ClassUtils;
|
||||||
* see the latter's javadoc for a configuration example.
|
* see the latter's javadoc for a configuration example.
|
||||||
*
|
*
|
||||||
* <p>Note: Spring 4.0 supports JRuby 1.5 and higher.
|
* <p>Note: Spring 4.0 supports JRuby 1.5 and higher.
|
||||||
|
* As of Spring 4.2, JRuby 9.0.0.0 is supported but only through
|
||||||
|
* {@link org.springframework.scripting.support.StandardScriptFactory}.
|
||||||
*
|
*
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
* @author Rob Harrop
|
* @author Rob Harrop
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
* @see JRubyScriptUtils
|
* @see JRubyScriptUtils
|
||||||
* @see org.springframework.scripting.support.ScriptFactoryPostProcessor
|
* @see org.springframework.scripting.support.ScriptFactoryPostProcessor
|
||||||
|
* @deprecated in favor of JRuby support via the JSR-223 abstraction
|
||||||
|
* ({@link org.springframework.scripting.support.StandardScriptFactory})
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class JRubyScriptFactory implements ScriptFactory, BeanClassLoaderAware {
|
public class JRubyScriptFactory implements ScriptFactory, BeanClassLoaderAware {
|
||||||
|
|
||||||
private final String scriptSourceLocator;
|
private final String scriptSourceLocator;
|
||||||
|
|
|
||||||
|
|
@ -45,12 +45,17 @@ import org.springframework.util.StringUtils;
|
||||||
* Utility methods for handling JRuby-scripted objects.
|
* Utility methods for handling JRuby-scripted objects.
|
||||||
*
|
*
|
||||||
* <p>Note: Spring 4.0 supports JRuby 1.5 and higher.
|
* <p>Note: Spring 4.0 supports JRuby 1.5 and higher.
|
||||||
|
* As of Spring 4.2, JRuby 9.0.0.0 is supported but only through
|
||||||
|
* {@link org.springframework.scripting.support.StandardScriptFactory}.
|
||||||
*
|
*
|
||||||
* @author Rob Harrop
|
* @author Rob Harrop
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
* @author Rick Evans
|
* @author Rick Evans
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
|
* @deprecated in favor of JRuby support via the JSR-223 abstraction
|
||||||
|
* ({@link org.springframework.scripting.support.StandardScriptFactory})
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public abstract class JRubyScriptUtils {
|
public abstract class JRubyScriptUtils {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -44,21 +44,6 @@
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
|
|
||||||
<xsd:element name="jruby">
|
|
||||||
<xsd:annotation>
|
|
||||||
<xsd:documentation><![CDATA[
|
|
||||||
A Spring bean backed by a JRuby class definition.
|
|
||||||
]]></xsd:documentation>
|
|
||||||
</xsd:annotation>
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:complexContent>
|
|
||||||
<xsd:extension base="dynamicScriptType">
|
|
||||||
<xsd:attributeGroup ref="vanillaScriptAttributes"/>
|
|
||||||
</xsd:extension>
|
|
||||||
</xsd:complexContent>
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
|
|
||||||
<xsd:element name="bsh">
|
<xsd:element name="bsh">
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation><![CDATA[
|
<xsd:documentation><![CDATA[
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue