1 /******************************************************************************* 2 * Copyright (c) 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.core.runtime.spi; 12 13 import org.eclipse.core.runtime.IExtensionRegistry; 14 15 /** 16 * Implement this interface to specify a contributed extension registry. 17 * <p> 18 * This interface can be used without OSGi running. 19 * </p><p> 20 * This interface may be implemented by clients. 21 * </p><p> 22 * <b>Note:</b> This class/interface is part of an interim API that is still under 23 * development and expected to change significantly before reaching stability. 24 * It is being made available at this early stage to solicit feedback from pioneering 25 * adopters on the understanding that any code that uses this API will almost certainly 26 * be broken (repeatedly) as the API evolves. 27 * </p> 28 * @see org.eclipse.core.runtime.RegistryFactory#getRegistry() 29 * @see org.eclipse.core.runtime.RegistryFactory#setDefaultRegistryProvider(IRegistryProvider) 30 * @since org.eclipse.equinox.registry 3.2 31 */ 32 public interface IRegistryProvider { 33 34 /** 35 * Returns the extension registry contributed by this provider; must not 36 * be <code>null</code>. 37 * 38 * @return an extension registry 39 */ 40 public IExtensionRegistry getRegistry(); 41 } 42