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:

  1. PLUGINS - plugin master table
  2. PLUGIN_ZIP - the zip file with Java classes
  3. LATEST_PLUGINS - the latest version info

See also

  1. PlatformUtilsService Java API
  2. Upload JAR and Resource Bundle Utilities
  3. JarUploadUtility
  4. JarDownloadUtility
  5. JarDeleteUtility
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License