4.1

Table Of Contents
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 209. For information about the additional methods that the
SDKHelper class provides, see “SDKHelper Class,” on page 219.
Procedure
1 Set Up the Configuration Adapter on page 186
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 187
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 189
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 192
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.
Set Up the Configuration Adapter
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.
Prerequisites
n
You have an application to plug in to Orchestrator.
n
You have access to the Orchestrator plug-in API JAR file.
n
Implement the plug-in adapter and factory interfaces.
Procedure
1 Create and save a Java file for the plug-in configuration adapter implementation.
In the solar system example, the configuration adapter class is named
SolarSystemConfigurationAdaptor.java.
2 Declare the package that contains the Java classes of the plug-in configuration implementation.
The solar system example declares the following package:
com.vmware.orchestrator.api.sample.solarsystem.config;
vCenter Orchestrator Developer's Guide
186 VMware, Inc.