...
- StepLoader.findStepPluginWithID(id) --> PluginRegistry.findPluginWithId(StepPluginType.getInstance()class, id)
- StepPlugin --> PluginInterface
- StepLoader.getStepClass(StepPlugin) --> (StepMetaInterface)PluginRegistry.loadClass(PluginInterface, PluginClassType.MainClassType)
- StepLoader.getStepPluginID(StepMetaInterface) --> PluginRegistry.getPluginId(StepPluginType.getInstance().class, StepMetaInterface)
- init() --> taken over by PluginRegistry.init() and StepPluginType.searchPlugins()
- getPluginPackages() --> is now available as getPluginPackages(PluginTypeInterface) returning a list of package names.
- getPluginInformation() --> getPluginInformation(PluginTypeInterface) returning a RowBuffer object
...
- JobEntryLoader.findJobEntriesWithDescription(String) --> PluginRegistry.findPluginWithName(StepPluginType..getInstance()class, description)
- JobPlugin (also with a wrong name!) --> PluginInterface
- JobEntryLoader.getStepClass(StepPlugin) --> (JobEntryInterface)PluginRegistry.loadClass(PluginInterface, PluginClassType.MainClassType)
- JobEntryLoader.getJobEntryPluginID(JobEntryInterface) --> PluginRegistry.getPluginId(JobEntryPluginType.getInstance(), JobEntryInterface)
- init(): taken over by PluginRegistry.init() and JobEntryPluginType.searchPlugins()
- getPluginPackages(): is now available as getPluginPackages(PluginTypeInterface) returning a list of package names.
- getPluginInformation(): getPluginInformation(PluginTypeInterface) returning a RowBuffer object
...
Code Block |
---|
PluginInterface plugin = PluginRegistry.getInstance().getPlugin(JobEntryPluginType..getInstance()class, typeId); |
Step plugin example
...
Code Block |
---|
repository = (Repository)PluginRegistry.getInstance().loadClass(RepositoryPluginType.getInstance().class, repositoryMeta.getId(), PluginClassType.MainClassType); repository.init(repositoryMeta); |