public interface

IPluginManager

com.pnfsoftware.jeb.core.IPluginManager

Class Overview

JEB plugin manager for native (Java) plugins. Manages self-contained JAR plugins as well as development plugins consisting of classfiles.

Refer to IPlugin.

Summary

Public Methods
abstract ClassLoader getClassloader()
Get the newest classloader used the plugin manager.
abstract IEnginesContext getEnginesContext()
Retrieve the engines context that instantiated this plugin manager.
abstract Class<? extends IPlugin> load(String classpath, String classname)
Load a JEB plugin.
abstract List<Class<? extends IPlugin>> load(File plugin)
Load a JEB plugin(s) contained in the provided JAR file.

Public Methods

public abstract ClassLoader getClassloader ()

Get the newest classloader used the plugin manager.

public abstract IEnginesContext getEnginesContext ()

Retrieve the engines context that instantiated this plugin manager.

public abstract Class<? extends IPlugin> load (String classpath, String classname)

Load a JEB plugin.

Parameters
classpath optional classpath, separated by the pathSeparatorChar
classname plugin classname
Returns
  • the loaded plugin class

public abstract List<Class<? extends IPlugin>> load (File plugin)

Load a JEB plugin(s) contained in the provided JAR file.

Parameters
plugin a JAR file
Returns
  • the list of loaded plugin classes