Open this page in the API Guide
Bootstrap.getService Method
Gets a service by the supplied service type from rootServices.
Parameters
- serviceType
-
Type: String
The service type requested.
Return Value
Type: Service
The service if found; otherwise null.