4.0

Table Of Contents
Add a Tab to the Configuration Interface
You can add a tab to the Orchestrator configuration interface to allow users to provide information to the plug-
in configuration that is specific to their environment or preferences.
To add a configuration tab for a plug-in to the configuration interface, you implement the
IConfigurationAdaptor interface. You can also use the SDKHelper and extend the BaseAction classes from the
Orchestrator plug-in API. You create a configuration adapter that accesses the classes of the plug-in and the
plugged-in technology for the Orchestrator configuration server. You define configuration actions to obtain
and save the configuration information that the user provides by using the configuration tab.
You must create an Apache Struts-based Web application to create the layout of the tab in the configuration
interface. The Struts Web application uses the methods that you define in the IConfigurationAdaptor
implementation to add configuration operations for the users to perform in the configuration tab for the plug-
in. The Struts Web application submits to the Orchestrator server the information that the user enters in the
configuration tab.
Creating a plug-in configuration tab requires several steps. Code from the
SolarSystemConfigurationAdapter and SolarSystemConfigureAction classes from the solar system plug-in is
included in the steps.
You can download the Orchestrator examples ZIP file from the Orchestrator documentation home page to
obtain the sources of the solar system example application and plug-in.
For information about all of the methods and parameters of the configuration adapter interface, see
“IConfigurationAdaptor Interface,” on page 217. For information about the additional methods that the
SDKHelper class provides, see “SDKHelper Class,” on page 225.
Procedure
1 Set Up the Configuration Adapter on page 192
To create a tab in the configuration interface for a plug-in, you create an implementation of the
IConfigurationAdaptor interface from the Orchestrator plug-in API. You also call the methods of the
SDKHelper class.
2 Load and Save Configuration Information in the Configuration Server on page 193
The IConfigurationAdaptor interface provides methods to load and save configuration information in
the Orchestrator configuration server. The configuration adapter uses these methods to locate and update
the configuration information for a plug-in by setting plug-in properties.
3 Create a Configuration Action to Obtain Configuration Information from the User on page 196
Orchestrator uses the Apache Struts framework to pass to the Orchestrator server the configuration
information that the user provides in the configuration interface.
4 Create a Struts-Based Web Application to Add to the Configuration Interface on page 198
The tab that you add to the Orchestrator configuration interface is an Apache Struts-based Web
application. You define the layout of the page by using HTML or JavaServer Pages (JSP) and add actions
to the page by implementing the Struts framework.
Chapter 7 Developing Plug-Ins
VMware, Inc. 191