The <plugin> element is the top-level element in the plug-in schema. The <plugin> element identifies the parts of the plug-in.
The <plugin> element has the following attributes:
name – The name of the plug-in. The name attribute has a maximum length of 64. Plug-in names follow a structure similar to com.sun.solaris.
version – The version of the plug-in. Version numbers follow the standard x.y (major.minor) format.
schemaVersion – A required attribute of type schemaVersion, which is the version of the plug-in XML schema being used. The only permitted values are 5.0 and 5.1.
The 5.1 version of the schema is backward compatible with the 5.0 version.
previousVersion – An optional attribute that is the version of this plug-in expected to be on the system. If not specified, an initial install is assumed. If specified, the value represents the version from which the plug-in is to be upgraded.
xmlns – A required string that has the following value:
http://www.sun.com/schema/SPS |
xmlns:xsi – A required string that has the following value:
http://www.w3.org/2001/XMLSchema-instance |
xsi:schemaLocation – An optional string that has the following recommended value:
http://www.sun.com/schema/SPS plugin.xsd |
The <plugin> element may include the following child elements:
<readme> – Optional path to the readme file written by the plug-in author
<serverPluginJAR> – Optional path to the JAR file that contains server-side plug-in code to run on the master server
<gui> – Optional GUI extensions for the plug-in
<dependencyList> – Optional list of external plug-ins on which this plug-in depends
<memberList> – Optional list of member objects to create as part of the plug-in
These member objects can include any number of folder, host type, host set, host search, component, and plan objects. These member objects can appear in any order.