* Gets a description of the provided interfaces.
* @return Provided interfaces.
*/
- ServiceDescriptor[] getProvidedServices();
+ ProvidedServiceDescriptor[] getProvidedServices();
/**
* Gets a description of the required interfaces.
* @return Required interfaces.
*/
- ServiceDescriptor[] getRequiredServices();
+ RequiredServiceDescriptor[] getRequiredServices();
/**
* Initialises the subsytem by starting all the services that
* it described as provided.
* @param aContext Unique name for the subsystem.
- * @param aRegistry Registry of service to which the subsystem must register the services it
- * creates.
* @param aRequiredServices Running services from other
* subsystems that are required by this subsystem.
* @return Services that are running in the subsystem.
*/
- Service[] start(String aContext, ServiceRegistry aRegistry, Service[] aRequiredServices);
+ Service[] start(String aContext, Service[] aRequiredServices);
/**
- * Stops a service.
- * @param aContext Context
- * @param aRegistry Registry from which services must be removed.
+ * Stops a subsystem.
*/
- void stop(String aContext, ServiceRegistry aRegistry);
+ void stop();
/**
* Gets the list of running services in the subsystem.