Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 03950aa7940b7664bb7e1853f28460d5fcd938d2 (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
/*******************************************************************************
* Copyright (c) 2009 Composent, Inc. 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:
*   Composent, Inc. - initial API and implementation
******************************************************************************/
package org.eclipse.ecf.core.provider;

import org.eclipse.ecf.core.ContainerTypeDescription;

/**
 * Interface that must be implemented by ECF remote service provider implementations.
 * @since 4.0
 * 
 */
public interface IRemoteServiceContainerInstantiator {

	/**
	 * Get supported configs for the container type handled by this intantiator.
	 * @param description the ContainerTypeDescription to return the supported configs for
	 * @return String[] the supported config types.
	 */
	public String[] getSupportedConfigTypes(ContainerTypeDescription description);

	/**
	 * Get supported intents for the container instantiated by this instantiator.
	 * 
	 * @param description the ContainerTypeDescription to return the intents for
	 * @return String[] supported intents.  <code>null</code> may be returned by
	 *         the provider if no intents are supported for this description.	 
	 */
	public String[] getSupportedIntents(ContainerTypeDescription description);

}

Back to the top