Use the Provisioning APIs to ensure correct and consistent installation of features and successful platform operation.
Use the Provisioning APIs to gain access to the provisioning system from other plug-ins running within the platform. In the event that applications running within the platform desire to make changes to the platform, such as by requesting the installation of new features and plug-ins, your applications should use the APIs provided rather than the Update APIs provided by Eclipse. By using the Provisioning APIs, it will ensure correct consistent installation of features and continued successful operation of the platform.
The general programming model for using the Provisioning APIs is to obtain an instance of the ProvisioningService from the ProvisioningServiceFactory, and then invoke the methods provided by the service to perform changes. The methods provided operate either on specific ProvisioningRequest objects, or on a provisioning manifest supplied to the service. For more information, see the Provisioning Javadoc.
Parent topic: Using the provisioning interfaces to manage the platform: XPD622