org.eclipse.higgins.registry.plugin
Class PluginRegistryExtension
java.lang.Object
org.eclipse.higgins.registry.plugin.PluginRegistryExtension
- All Implemented Interfaces:
- IRegistryExtension
- public abstract class PluginRegistryExtension
- extends Object
- implements IRegistryExtension
This implementation of
IRegistryExtension uses Eclipse
extension point mechanism to lookup for available service providers.
- See Also:
IRegistryExtension
PluginRegistryExtension
public PluginRegistryExtension(String xpid)
createProvider
public abstract IServiceProvider createProvider(IExtension extension,
IConfigurationElement element)
throws RegistryException
- Create an instance of type using provided
extension
and element.
- Parameters:
extension - element -
- Returns:
-
- Throws:
RegistryException
getServiceProviders
public Iterator getServiceProviders()
- Description copied from interface:
IRegistryExtension
- Searches for implementations of a particular service provider type.
Instantiates and returns all available service providers of appropriate
type
E>.
- Specified by:
getServiceProviders in interface IRegistryExtension
- Returns:
- an
Iterator set of IServiceProviders