org.sapia.cocoon.ruby
Class JRubyBean

java.lang.Object
  extended by org.sapia.cocoon.ruby.JRubyBean
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ResourceLoaderAware

public class JRubyBean
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.context.ResourceLoaderAware


Constructor Summary
JRubyBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 org.jruby.Ruby newInstance()
           
 void setJrubyHome(java.lang.String home)
           
 void setPath(java.lang.String path)
           
 void setResourceLoader(org.springframework.core.io.ResourceLoader loader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRubyBean

public JRubyBean()
Method Detail

setResourceLoader

public void setResourceLoader(org.springframework.core.io.ResourceLoader loader)
Specified by:
setResourceLoader in interface org.springframework.context.ResourceLoaderAware

destroy

public void destroy()
             throws java.lang.Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
java.lang.Exception

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception

setJrubyHome

public void setJrubyHome(java.lang.String home)

setPath

public void setPath(java.lang.String path)

newInstance

public org.jruby.Ruby newInstance()


Copyright © 2008. All Rights Reserved.