Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: f9a076ab57e4f5f15bc03aa542f7c687fe7e4b93 (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
/*******************************************************************************
 * Copyright (c) 2008 Versant Corp.
 * 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:
 *     Markus Kuppe (mkuppe <at> versant <dot> com) - initial API and implementation
 ******************************************************************************/
package org.eclipse.ecf.internal.provider.jslp;

import ch.ethz.iks.slp.*;
import java.util.List;
import java.util.Map;

public interface LocatorDecorator extends Locator {
	/**
	 * @param aServiceType
	 * @param scopes
	 * @return A Map whos keys are {@link ServiceURL} and Entries are {@link List} describing service attributes
	 * @throws ServiceLocationException 
	 */
	public Map getServiceURLs(ServiceType aServiceType, List scopes) throws ServiceLocationException;

	/**
	 * @return A Map whos keys are {@link ServiceURL} and Entries are {@link List} describing service attributes
	 * @throws ServiceLocationException 
	 */
	public Map getServiceURLs() throws ServiceLocationException;

	/**
	 * @param namingAuthority
	 * @param scopes
	 * @return A List of a ServiceURLs for the given namingAuthority and scopes
	 * @throws ServiceLocationException
	 */
	public List getServiceURLs(final String namingAuthority, final List scopes) throws ServiceLocationException;
}

Back to the top