org.kohsuke.stapler.jelly
Class JellyTagFileLoader

java.lang.Object
  extended by org.kohsuke.stapler.jelly.JellyTagFileLoader
Direct Known Subclasses:
GroovyTagFileLoader

public abstract class JellyTagFileLoader
extends java.lang.Object

Extension point that lets Jelly scripts written in other languages.

Author:
Kohsuke Kawaguchi

Constructor Summary
JellyTagFileLoader()
           
 
Method Summary
static java.util.List<JellyTagFileLoader> discover(java.lang.ClassLoader cl)
          Discovers all the facets in the classloader.
abstract  org.apache.commons.jelly.Script load(CustomTagLibrary taglib, java.lang.String name, java.lang.ClassLoader classLoader)
          Loads a tag file for the given tag library.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JellyTagFileLoader

public JellyTagFileLoader()
Method Detail

load

public abstract org.apache.commons.jelly.Script load(CustomTagLibrary taglib,
                                                     java.lang.String name,
                                                     java.lang.ClassLoader classLoader)
                                              throws org.apache.commons.jelly.JellyException
Loads a tag file for the given tag library.

Returns:
null if this loader didn't find the script.
Throws:
org.apache.commons.jelly.JellyException

discover

public static java.util.List<JellyTagFileLoader> discover(java.lang.ClassLoader cl)
Discovers all the facets in the classloader.



Copyright © 2012. All Rights Reserved.