public interface IProvisioningAgentProviderAn OSGi service that is used to create or obtain instances of an
static final String SERVICE_NAMEService name constant for the agent provider service.
IProvisioningAgent createAgent(URI location) throws ProvisionExceptionCreates a provisioning agent who metadata is stored at the given location. If a
nulllocation is provided, the provisioning agent for the currently running system is returned, if available. If a
nulllocation is provided and the currently running system has not been provisioned by any known agent,
Callers of this method are responsible for stopping the agent when they are finished using it by invoking
location- The location where the agent metadata is stored
- A provisioning agent, or
nullparameter is provided and there is no currently running agent.
ProvisionException- If agent creation failed. Reasons include:
- The location is not writeable.
- See Also: