N1 Grid Service Provisioning System 5.0 Plug-in Development Guide

Plug-In Descriptor File

The plugin-descriptor.xml defines the sample plug-in. Look at the following items in the example below:

<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.sun.com/schema/SPS"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.sun.com/schema/SPS ../plugin.xsd"
  name="com.sun.linux"
  vendor="Sun Microsystems"
  version="1.1"
  schemaVersion="5.0">

  <dependencyList> 
    <pluginRef name="system" version="1.0"/>
  </dependencyList>

  <memberList>
    <!-- Folders -->
    
    <folder name="/com/sun/linux" 
        description="contains linux plugin objects"/>

    <!-- Components -->
    
    <component jarPath="1.0/components/com/sun/linux/RPM CT.xml">
      <componentType name="rpm file" 
         description="the active component type for rpm files"
         group="any UNIX"
         order="000700-000100-000200"
         indentLevel="1"/>
    </component>

  </memberList>
</plugin>