Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 88dc69e13dc00170118ab954e3dc58a7b1a2d782 (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
/*******************************************************************************
 * Copyright (c) 2006, 2014 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.core.internal.registry.osgi;

import org.eclipse.core.runtime.IExtensionRegistry;
import org.eclipse.core.runtime.spi.IRegistryProvider;

public final class RegistryProviderOSGI implements IRegistryProvider {

	private final IExtensionRegistry registry;

	public RegistryProviderOSGI(IExtensionRegistry registry) {
		this.registry = registry;
	}

	/* (non-Javadoc)
	 * @see org.eclipse.equinox.registry.IRegistryProvider#getRegistry()
	 */
	@Override
	public IExtensionRegistry getRegistry() {
		return registry;
	}
}

Back to the top