beetle.service
package beetle.service
Type members
Classlikes
case
Signals service already exists with given name.
Signals service already exists with given name.
Signals service configuration error.
Signals service configuration error.
- Constructor
Creates error with detail message and underlying cause.
object ServiceContext
Provides service context factory.
Provides service context factory.
- Companion
- class
object ServiceDefinition
Provides service definition factory.
Provides service definition factory.
- Companion
- class
Defines service exception.
Defines service exception.
- Constructor
Creates exception with detail message and underlying cause.
enum ServiceState
Defines service state.
Defines service state.
Service Lifecycle
A service can be in one of five states, and it progresses through the states as follows:
Registered → Activating → (Active)? → Deactivating → Inactive
On failed activation, the service skips Active
state.