register

Registers service under name.

Return

this builder

Parameters

name

the registration name, unique in the registry

service

the service to register