net.sf.genuine.organizer.internal
Interface InternalServiceBroker

All Superinterfaces:
ServiceBroker
All Known Implementing Classes:
DefaultServiceBroker

public interface InternalServiceBroker
extends ServiceBroker

Defines the functionality of the service broker that is used only inside Genuine and not meant for public usage by modules.

Author:
Tim Wellhausen

Method Summary
 void fetchServices(Module module, org.jdom.Element servicesElement)
          The service broker has to fetch all services defined by the given module and keep them internally for later access.
 void registerService(java.lang.Class serviceType, Service service)
          Manualy adds the given service.
 
Methods inherited from interface net.sf.genuine.organizer.ServiceBroker
getActiveServices, getService, getServices
 

Method Detail

registerService

public void registerService(java.lang.Class serviceType,
                            Service service)
Manualy adds the given service. Each service is added to a list that contains only services of the same type (= that implement the same interface).


fetchServices

public void fetchServices(Module module,
                          org.jdom.Element servicesElement)
                   throws ConfigurationException
The service broker has to fetch all services defined by the given module and keep them internally for later access.

Throws:
ConfigurationException