Gets the service for the given clazz, or returns null if there is no service registered for the given clazz.
the service, or null if not present
the service type
the service class