|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProvisioningAgentProvider
An OSGi service that is used to create or obtain instances of an
IProvisioningAgent
.
Field Summary | |
---|---|
static String |
SERVICE_NAME
Service name constant for the agent provider service. |
Method Summary | |
---|---|
IProvisioningAgent |
createAgent(URI location)
Creates a provisioning agent who metadata is stored at the given location. |
Field Detail |
---|
static final String SERVICE_NAME
Method Detail |
---|
IProvisioningAgent createAgent(URI location) throws ProvisionException
null
location is provided, the provisioning agent for the
currently running system is returned, if available. If a null
location is provided and the currently running system has not been provisioned
by any known agent, null
is returned.
Callers of this method are responsible for stopping the agent
when they are finished using it by invoking IProvisioningAgent.stop()
.
location
- The location where the agent metadata is stored
null
if a null
parameter is provided and there is no currently running agent.
ProvisionException
- If agent creation failed. Reasons include:
IProvisioningAgent.stop()
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.