org.kohsuke.stapler.jelly
Class JellyTagFileLoader
java.lang.Object
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
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 |
JellyTagFileLoader
public JellyTagFileLoader()
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.