The IPluginAdaptor returns IPluginFactory instances. IPluginFactory instances run commands in the plugged-in application, and finds objects upon which to perform Orchestrator operations.

The IPluginFactory interface defines the following field:

static final java.lang.String RELATION_CHILDREN

The IPluginFactory interface defines the following methods.

Method

Returns

Description

executePluginCommand(java.lang.String cmd)

Void

Use the plug-in to run a command. VMware recommends that you do not use this method.

find(java.lang.String type, java.lang.String id)

java.lang.Object

Use the plug-in to find an object. Identify the object by its ID and type.

findAll(java.lang.String type, java.lang.String query)

QueryResult

Use the plug-in to find objects of a certain type and that match a query string. You define the syntax of the query in the IPluginFactory implementation of the plug-in. If you do not define query syntax, findAll() returns all objects of the specified type.

findRelation(java.lang.String parentType, java.lang.String parentId, java.lang.String relationName)

java.util.List

Determines whether an object has children.

hasChildrenInRelation(java.lang.String parentType, java.lang.String parentId, java.lang.String relationName)

HasChildrenResult

Finds all children related to a given parent by a certain relation.

invalidate(java.lang.String type, java.lang.String id)

Void

Invalidate objects by type and ID.

void invalidateAll()

Void

Invalidate all objects in the cache.