You implement the IPluginAdaptor interface to manage plug-in factories, events and watchers. The IPluginAdaptor interface defines an adapter between a plug-in and the Orchestrator server.

IPluginAdaptor instances are resonsible for session management. The IPluginAdaptor Interface defines the following methods.

Method

Returns

Description

addWatcher(PluginWatcher watcher)

Void

Adds a watcher to monitor for a specific event

createPluginFactory(java.lang.String sessionID, java.lang.String username, java.lang.String password, IPluginNotificationHandler notificationHandler)

IPluginFactory

Creates an IPluginFactory instance. The Orchestrator server uses the factory to obtain objects from the plugged-in technology by their ID, by their relation to other objects, and so on.

The session ID allows you to identify a running session. For example, a user could log into two different Orchestrator clients and run two sessions simultaneously.

Similarly, starting a workflow creates a session that is independent from the client in which the workflow started. A workflow continues to run even if you close the Orchestrator client.

installLicenses(PluginLicense[] licenses)

Void

Installs the license information for standard plug-ins that VMware provides

registerEventPublisher(java.lang.String type, java.lang.String id, IPluginEventPublisher publisher)

Void

Sets triggers and gauges on an element in the inventory

removeWatcher(java.lang.String watcherId)

Void

Removes a watcher

setPluginName(java.lang.String pluginName)

Void

Gets the plug-in name from the vso.xml file

setPluginPublisher(IPluginPublisher pluginPublisher)

Void

Sets the publisher of the plug-in

uninstallPluginFactory(IPluginFactory plugin)

Void

Uninstalls a plug-in factory.

unregisterEventPublisher(java.lang.String type, java.lang.String id, IPluginEventPublisher publisher)

Void

Removes triggers and gauges from an element in the inventory