serviceManager

fun serviceManager(services: List<Service>, block: ServiceManager.() -> Unit): ServiceManager

Creates and configures a Guava ServiceManager from the given list of services.

Return

the configured ServiceManager.

Parameters

services

the list of Service instances to manage.

block

configuration block applied to the ServiceManager.