StandardScriptFactory)@Deprecated public abstract class JRubyScriptUtils extends Object
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
 StandardScriptFactory.
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
JRubyScriptUtils.JRubyExecutionException
Deprecated.  
Exception thrown in response to a JRuby  
RaiseException
 being thrown from a JRuby method invocation. | 
| Constructor and Description | 
|---|
JRubyScriptUtils()
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
static Object | 
createJRubyObject(String scriptSource,
                 Class<?>... interfaces)
Deprecated.  
Create a new JRuby-scripted object from the given script source,
 using the default  
ClassLoader. | 
static Object | 
createJRubyObject(String scriptSource,
                 Class<?>[] interfaces,
                 ClassLoader classLoader)
Deprecated.  
Create a new JRuby-scripted object from the given script source. 
 | 
public static Object createJRubyObject(String scriptSource, Class<?>... interfaces) throws org.jruby.exceptions.JumpException
ClassLoader.scriptSource - the script source textinterfaces - the interfaces that the scripted Java object is to implementorg.jruby.exceptions.JumpException - in case of JRuby parsing failureClassUtils.getDefaultClassLoader()public static Object createJRubyObject(String scriptSource, Class<?>[] interfaces, ClassLoader classLoader)
scriptSource - the script source textinterfaces - the interfaces that the scripted Java object is to implementclassLoader - the ClassLoader to create the script proxy withorg.jruby.exceptions.JumpException - in case of JRuby parsing failure