...
The JobPlugin class and the PluginInterface are quite similar, see the StepLoader paragraph above for more information.
Examples from the field
Job entry example
Code Block |
---|
JobPlugin plugin = JobEntryLoader.getInstance().findJobPluginWithID(typeId); |
...
Code Block |
---|
PluginInterface plugin = PluginRegistry.getInstance().getPlugin(JobEntryPluginType.getInstance(), typeId);
|
Step plugin example
Code Block |
---|
stepMetaInterface = StepLoader.getInstance().getStepClass(sp);
|
becomes
Code Block |
---|
stepMetaInterface = (StepMetaInterface)PluginRegistry.getInstance().loadClass(sp);
|