byRole

abstract fun byRole(role: String): S

Returns the service bound to role in this family.

Return

the bound service

Parameters

role

the role name, scoped to this family

Throws

when the role is not bound in this family