4.0

Table Of Contents
15 Install a Plug-In in the Orchestrator Server on page 211
After you create the plug-in DAR file, you must install it in the Orchestrator server. You install plug-ins
in the Orchestrator configuration interface.
16 Interact with the Solar System Application by Using Orchestrator on page 212
After you install a plug-in in the Orchestrator server, you can use the objects that it adds to the
Orchestrator JavaScript API to create workflows, actions, policies, Web views, and so on. You use these
items to interact with the plugged-in technology using Orchestrator.
Accessing the Orchestrator Plug-In API
The Orchestrator plug-in API provides Java interfaces that you implement to create the plug-in adapter and
plug-in factory. The plug-in adapter and factory expose the objects and operations of the plugged-in technology
to the Orchestrator server.
The plug-in API includes interfaces, classes, and annotations that you can use when you create the plug-in
adapter, factory, and event management implementations. For the full list of the classes in the Orchestrator
plug-in API, see “Orchestrator Plug-In API Reference,” on page 216.
Locating the Plug-In API Java Archives
Orchestrator provides the classes of the plug-in API in the Orchestrator plug-in API Java archive (JAR) file,
vmware-vmo-sdkapi.jar. To develop the plug-in adapter and factory implementations, you must include the
vmware-vmo-sdkapi.jar file in your classpath. You might also need the utility classes that the vmware-vmo-
util.jar archive provides.
Table 7-3. Locations of JAR File and Utility Class Archive
Option Location
If you installed the standalone version of Orchestrator.
install-directory
\VMware\Orchestrator\app-
server\server\vmo\lib
If the vCenter Server installer installed Orchestrator.
install-
directory
\VMware\Infrastructure\Orchestrator\ap
p-server\server\vmo\lib
If you develop a plug-in that requires a tab in the Orchestrator configuration interface, you must include the
vmware-vmo-webconfiguration-commons.jar file in your classpath.
Table 7-4. Location of the Orchestrator Configuration Tab JAR File
Option Location
If you installed the standalone version of Orchestrator.
install-
directory
\VMware\Orchestrator\configuration\jet
ty\lib\ext
If the vCenter Server installer installed Orchestrator.
install-
directory
\VMware\Infrastructure\Orchestrator\co
nfiguration\jetty\lib\ext
Obtain an Application to Plug in to Orchestrator
To create a plug-in, you must have an application to expose for Orchestrator to manage.
The solar system example application demonstrates how to create a plug-in. The ZIP file of Orchestrator
examples that you can download from the Orchestrator documentation homepage contains a DAR file for the
solar system plug-in, the source files for the solar system application, and the source files for its plug-in
implementation. For details about where to download the Orchestrator examples bundle, see “Example
Applications,” on page 9.
Chapter 7 Developing Plug-Ins
VMware, Inc. 153