java.lang.Object |
↳ |
com.pnfsoftware.jeb.client.script.JebPythonPluginService |
Class Overview
Manager for JEB plugins written in Python.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
JebPythonPluginService
(File pyLibDir)
Create a new Python plugin loader.
Parameters
pyLibDir |
directory containing libraries used to execute plugins, including the Jython
interpreter |
public
JebPythonPluginService
(File pyLibDir, ClassLoader cl)
Create a new Python plugin loader.
Parameters
pyLibDir |
directory containing libraries used to execute plugins, including the Jython
interpreter |
cl |
optional classloader |
public
JebPythonPluginService
(String pyLibDirPath)
Create a new Python plugin loader.
Parameters
pyLibDirPath |
directory containing libraries used to execute plugins (that folder must
include the Jython interpreter) |
Public Methods
public
synchronized
JebPythonPluginFactory
createFactory
(String path)
Load and execute a Python plugin. The plugin file name must end with '.py' and must contain
one class extending IPlugin
, whose name matches the file name.
Parameters
path |
the Python file path |
public
synchronized
Class<? extends IPlugin>
getPluginClass
(String path)