Register/Unregister Plugin
Register a plugin packaged to the file "plugin.zip"
byte[] bytes = Files.toByteArray(new File("plugin.zip")); PlatformService service = oimClient.getService(PlatformService.class); service.registerPlugin(bytes);
Unregister a plugin with the specified class name and version
PlatformService service = oimClient.getService(PlatformService.class); service.unRegisterPlugin("com.connectors.hr.HRReconciliationTask", "1.0");
You can register/unregister plugins with the oimtool:
oimtool --register-plugin file.zip
oimtool --unregister-plugin com.connectors.hr.HRReconciliationTask 1.0
Tables:
- PLUGINS - plugin master table
- PLUGIN_ZIP - the zip file with Java classes
- LATEST_PLUGINS - the latest version info
See also
page revision: 13, last edited: 21 Sep 2011 13:49