public class PluginRegistry extends Object
Modifier and Type | Method and Description |
---|---|
void |
bootJarPlugins()
Boot all jar plugins that have already been loaded.
|
List<StallionRunAction> |
getAllPluginDefinedStallionRunActions() |
org.apache.xbean.classloader.JarFileClassLoader |
getClassLoader() |
JsPluginEngine |
getEngine(String plugin) |
Map<String,StallionJavaPlugin> |
getJavaPluginByName() |
static PluginRegistry |
instance() |
void |
loadAndRunJavascriptPlugins() |
void |
loadAndRunJavascriptPlugins(Boolean shouldWatchFiles) |
void |
loadJarPlugins(String targetPath) |
void |
loadPluginFromBooter(StallionJavaPlugin booter) |
static PluginRegistry |
loadWithJavaPlugins(String targetPath) |
static PluginRegistry |
loadWithJavaPlugins(String targetPath,
StallionJavaPlugin... extraPlugins) |
List<TestResults> |
runJsTests(String plugin,
String jsFile) |
void |
setClassLoader(org.apache.xbean.classloader.JarFileClassLoader classLoader) |
static void |
shutdown() |
public static PluginRegistry instance()
public static PluginRegistry loadWithJavaPlugins(String targetPath)
public static PluginRegistry loadWithJavaPlugins(String targetPath, StallionJavaPlugin... extraPlugins)
public static void shutdown()
public List<StallionRunAction> getAllPluginDefinedStallionRunActions()
public void loadAndRunJavascriptPlugins()
public void loadAndRunJavascriptPlugins(Boolean shouldWatchFiles)
public void loadJarPlugins(String targetPath)
public void bootJarPlugins()
public void loadPluginFromBooter(StallionJavaPlugin booter)
public List<TestResults> runJsTests(String plugin, String jsFile)
public JsPluginEngine getEngine(String plugin)
public org.apache.xbean.classloader.JarFileClassLoader getClassLoader()
public void setClassLoader(org.apache.xbean.classloader.JarFileClassLoader classLoader)
public Map<String,StallionJavaPlugin> getJavaPluginByName()
Copyright © 2016. All rights reserved.