Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 38068b0ee48c2ba56618960eb974b0d1fae76728 (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
/*******************************************************************************
 * Copyright (c) 2017 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.osgi.services.remoteserviceadmin;

import org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteConstants;

/**
 * @since 4.6
 */
public interface ITopologyManager {

	public static final String ENDPOINT_ALLOWLOCALHOST_PROP = "allowLocalhost"; //$NON-NLS-1$
	public static final boolean ENDPOINT_ALLOWLOCALHOST = Boolean
			.getBoolean(ITopologyManager.class.getName() + "." + ENDPOINT_ALLOWLOCALHOST_PROP); //$NON-NLS-1$
	public static final String ENDPOINT_CONDITIONAL_OP_PROP = "conditionalOp"; //$NON-NLS-1$
	public static final String ENDPOINT_CONDITIONAL_OP = System
			.getProperty(ITopologyManager.class.getName() + "." + ENDPOINT_CONDITIONAL_OP_PROP, "&"); //$NON-NLS-1$ //$NON-NLS-2$
	public static final String ENDPOINT_EXTRA_CONDITIONAL_PROP = "conditional"; //$NON-NLS-1$
	public static final String ENDPOINT_EXTRA_CONDITIONAL = System
			.getProperty(ITopologyManager.class.getName() + "." + ENDPOINT_EXTRA_CONDITIONAL_PROP); //$NON-NLS-1$

	public static final String ENDPOINT_EXTRA_FILTERS_PROP = "extraFilters"; //$NON-NLS-1$
	public static final String ENDPOINT_EXTRA_FILTERS = System
			.getProperty(ITopologyManager.class.getName() + "." + ENDPOINT_EXTRA_FILTERS_PROP); //$NON-NLS-1$

	public static final String ONLY_ECF_SCOPE = "(" + RemoteConstants.ENDPOINT_CONTAINER_ID_NAMESPACE + "=*)"; //$NON-NLS-1$ //$NON-NLS-2$

	public static final String EXPORT_REGISTERED_SERVICES_FILTER_PROP = "exportRegisteredServicesFilter"; //$NON-NLS-1$
	public static final String EXPORT_REGISTERED_SERVICES_FILTER = System.getProperty(
			ITopologyManager.class.getName() + "." + EXPORT_REGISTERED_SERVICES_FILTER_PROP, //$NON-NLS-1$
			"(service.exported.interfaces=*)"); //$NON-NLS-1$
	
	public String[] getEndpointFilters();
	public String[] setEndpointFilters(String[] newFilters);

}

Back to the top