edu.uci.isr.yancees.server.service
Interface ServiceManagerInterface
- All Known Implementing Classes:
- ServiceManager
public interface ServiceManagerInterface
- Author:
- rsilvafi
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
getServiceByName
ServiceInterface getServiceByName(java.lang.String name)
- Parameters:
name
- is the name of the service to be resolved
- Returns:
- a reference to the main service class, registered under the provided name
registerService
void registerService(ServiceInterface service)
- Registers a service. The name of the service is obtained by invoking the
getName() method in the service interface.
- Parameters:
service
- is the service to be registered under the name of the service
unregisterService
void unregisterService(java.lang.String serviceName)
- Unregisters a service under the provided name
- Parameters:
serviceName
- is the name of the service to be unregistered
listAvailableServiceNames
java.lang.String[] listAvailableServiceNames()
- Returns:
- a list with the names of all the installed services
getAvailableServices
ServiceInterface[] getAvailableServices()
- Returns:
- a list of all the available service references