blob: a3a21c2ddf060791a7d7397cae7db532f22f12c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/*******************************************************************************
* Copyright (c) 2007, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.equinox.p2.core;
import java.net.URI;
/**
* An instance of this service represents the location of a provisioning agent's
* metadata.
*
* @noimplement This interface is not intended to be implemented by clients.
* @noextend This interface is not intended to be extended by clients.
* @since 2.0
*/
public interface IAgentLocation {
/**
* Service name constant for the agent location service.
*/
public static final String SERVICE_NAME = IAgentLocation.class.getName();
/**
* Returns the location where the bundle with the given namespace
* may write its agent-related data.
* @param namespace The namespace of the bundle storing the data
* @return The data location
*/
public URI getDataArea(String namespace);
/**
* Returns the root {@link URI} of the agent metadata.
*
* @return the location of the agent metadata
*/
public URI getRootLocation();
}
|