org.eclipse.higgins.registry
Interface IServiceProvider


public interface IServiceProvider

Base interface to be registable in the Higgins Regisrty.


Method Summary
 IConfiguration getConfiguration()
          Returns configuration of this service provider.
 String getID()
          Returns the id of this service provider.
 void setID(String id)
          Sets the id of this service provider.
 

Method Detail

getID

String getID()
Returns the id of this service provider.

Returns:
a non-null String containing the identifier of the service.

setID

void setID(String id)
           throws Exception
Sets the id of this service provider. In most cases the id of the service provider is unmodifiable. This method should only be used by IRegistryExtensions to initialize service provider instance when getID returns null.

Parameters:
id - - the service provider id
Throws:
Exception - if id of this service provider can't be modified.

getConfiguration

IConfiguration getConfiguration()
Returns configuration of this service provider. When service provider is registered in the HigginsRegistry returned configuration is used to load service's configuration.

Returns:
the configuration of this service provider.