ComponentRegistry

A ComponentRegistry is a registry for components.

Functions

Link copied to clipboard
abstract fun deregister(descriptor: ComponentDescriptor<Component>)

Shutdown

Link copied to clipboard
abstract fun getInstances(service: String): List<ServiceInstance>

get the list of available service instances for a specific service

Link copied to clipboard
abstract fun getServices(): List<String>

get the list of alive services

Link copied to clipboard
abstract fun register(descriptor: ComponentDescriptor<Component>)

Startup