org.kohsuke.stapler.jelly.jruby
Class JRubyClassInfo

java.lang.Object
  extended by org.kohsuke.stapler.CachingScriptLoader<org.apache.commons.jelly.Script,IOException>
      extended by org.kohsuke.stapler.jelly.jruby.JRubyClassInfo

public final class JRubyClassInfo
extends org.kohsuke.stapler.CachingScriptLoader<org.apache.commons.jelly.Script,IOException>

MetaClass-equivalent for RubyClass

Author:
Kohsuke Kawaguchi
See Also:
JRubyFacet.getClassInfo(RubyClass)

Field Summary
 org.jruby.RubyClass clazz
           
 
Method Summary
protected  URL getResource(String name, ClassLoader cl)
           
 JRubyClassInfo getSuperClass()
           
protected  org.apache.commons.jelly.Script loadScript(String name)
           
 
Methods inherited from class org.kohsuke.stapler.CachingScriptLoader
clearScripts, findResource, findScript
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clazz

public final org.jruby.RubyClass clazz
Method Detail

getSuperClass

public JRubyClassInfo getSuperClass()

loadScript

protected org.apache.commons.jelly.Script loadScript(String name)
                                              throws IOException
Specified by:
loadScript in class org.kohsuke.stapler.CachingScriptLoader<org.apache.commons.jelly.Script,IOException>
Throws:
IOException

getResource

protected URL getResource(String name,
                          ClassLoader cl)
Specified by:
getResource in class org.kohsuke.stapler.CachingScriptLoader<org.apache.commons.jelly.Script,IOException>


Copyright © 2011. All Rights Reserved.