trait ServiceContext
Defines service context.
- Companion
- object
class Object
trait Matchable
class Any
Value members
Abstract methods
Adds service to service context.
Adds service to service context.
- Value Params
- definition
service definition
- Throws
- ServiceAlreadyExists
if service already exists
Removes service from service context.
Removes service from service context.
- Value Params
- name
service name
- Throws
- ServiceNotFound
if service does not exist
- ServiceStateError
if service is active
Restarts service in service context.
Restarts service in service context.
- Value Params
- name
service name
- Throws
- ServiceNotFound
if service does not exist
Starts service in service context.
Starts service in service context.
- Value Params
- name
service name
- Returns
true
if service is started orfalse
if service was already active- Throws
- ServiceNotFound
if service does not exist