org.kohsuke.stapler.jelly.jruby
Class JRubyFacet

java.lang.Object
  extended by org.kohsuke.stapler.Facet
      extended by org.kohsuke.stapler.jelly.jruby.JRubyFacet

@MetaInfServices
public class JRubyFacet
extends org.kohsuke.stapler.Facet

Author:
Kohsuke Kawaguchi

Nested Class Summary
protected  class JRubyFacet.ScriptInvokingDispatcher
           
 
Field Summary
 
Fields inherited from class org.kohsuke.stapler.Facet
LOGGER
 
Constructor Summary
JRubyFacet()
           
 
Method Summary
 void buildViewDispatchers(org.kohsuke.stapler.MetaClass owner, java.util.List<org.kohsuke.stapler.Dispatcher> dispatchers)
           
 javax.servlet.RequestDispatcher createRequestDispatcher(org.kohsuke.stapler.RequestImpl request, java.lang.Class type, java.lang.Object it, java.lang.String viewName)
           
 JRubyClassInfo getClassInfo(org.jruby.RubyClass r)
           
 boolean handleIndexRequest(org.kohsuke.stapler.RequestImpl req, org.kohsuke.stapler.ResponseImpl rsp, java.lang.Object node, org.kohsuke.stapler.MetaClass nodeMetaClass)
           
 org.apache.commons.jelly.Script parse(java.net.URL script)
           
 
Methods inherited from class org.kohsuke.stapler.Facet
discover, discoverExtensions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRubyFacet

public JRubyFacet()
Method Detail

parse

public org.apache.commons.jelly.Script parse(java.net.URL script)
                                      throws java.io.IOException
Throws:
java.io.IOException

getClassInfo

public JRubyClassInfo getClassInfo(org.jruby.RubyClass r)

buildViewDispatchers

public void buildViewDispatchers(org.kohsuke.stapler.MetaClass owner,
                                 java.util.List<org.kohsuke.stapler.Dispatcher> dispatchers)
Specified by:
buildViewDispatchers in class org.kohsuke.stapler.Facet

createRequestDispatcher

public javax.servlet.RequestDispatcher createRequestDispatcher(org.kohsuke.stapler.RequestImpl request,
                                                               java.lang.Class type,
                                                               java.lang.Object it,
                                                               java.lang.String viewName)
                                                        throws java.io.IOException
Specified by:
createRequestDispatcher in class org.kohsuke.stapler.Facet
Throws:
java.io.IOException

handleIndexRequest

public boolean handleIndexRequest(org.kohsuke.stapler.RequestImpl req,
                                  org.kohsuke.stapler.ResponseImpl rsp,
                                  java.lang.Object node,
                                  org.kohsuke.stapler.MetaClass nodeMetaClass)
                           throws java.io.IOException,
                                  javax.servlet.ServletException
Specified by:
handleIndexRequest in class org.kohsuke.stapler.Facet
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 2011. All Rights Reserved.