public class KernelServiceProvider extends Object
Modifier and Type | Method and Description |
---|---|
static ComponentService |
getComponentService()
Returns the component service instance.
|
static DeviceService |
getDeviceService()
Returns the device service instance.
|
static ExternalResourceService |
getExternalResourceService()
Returns the external resources service instance.
|
static FontService |
getFontService()
Returns the font service instance.
|
static HealthService |
getHealthService()
Returns the health service instance.
|
static NavigationService |
getNavigationService()
Returns the navigation service instance.
|
static Timer |
getTimer()
Returns the timer instance.
|
static TimeService |
getTimeService()
Returns the time service instance.
|
static void |
setServices(Timer timer,
ComponentService componentService,
NavigationService navigationService,
FontService fontService,
ExternalResourceService externalResourceService,
HealthService healthService,
DeviceService deviceService,
TimeService timeService)
Sets the instance of every service.
|
public static ComponentService getComponentService()
public static DeviceService getDeviceService()
public static ExternalResourceService getExternalResourceService()
public static FontService getFontService()
public static HealthService getHealthService()
public static NavigationService getNavigationService()
public static Timer getTimer()
public static TimeService getTimeService()
public static void setServices(Timer timer, ComponentService componentService, NavigationService navigationService, FontService fontService, ExternalResourceService externalResourceService, HealthService healthService, DeviceService deviceService, TimeService timeService)
timer
- the timer instance.componentService
- the component service instance.navigationService
- the navigation service instance.fontService
- the font service instance.externalResourceService
- the external resource service instance.healthService
- the health service instance.deviceService
- the device service instance.timeService
- the time service instance.