|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.overlord.sramp.ui.client.services.Services
public class Services
Concrete implementation of the IServices interface.
| Method Summary | ||
|---|---|---|
|
getService(Class<T> serviceType)
Gets a service. |
|
static IServices |
getServices()
Gets the services singleton. |
|
static void |
init(Map<Class<? extends IService>,IService> registeredServices,
ServiceLifecycleContext context,
IServicesListener servicesListener)
Initializes the Services infrastructure. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final IServices getServices()
public static void init(Map<Class<? extends IService>,IService> registeredServices,
ServiceLifecycleContext context,
IServicesListener servicesListener)
registeredServices - context - servicesListener -
public <T extends IService> T getService(Class<T> serviceType)
throws ServiceNotFoundException
IServices
getService in interface IServicesserviceType - the type of service to get
ServiceNotFoundExceptionIServices.getService(java.lang.Class)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||