Attributes
- Companion
- trait
- Graph
-
- Supertypes
- Self type
-
ServiceReloader.type
Members list
Type members
Classlikes
Attributes
- Supertypes
- Known subtypes
-
class ServiceNotRegistered
Value members
Concrete methods
Registers the specified service with a layer that constructs the service. Returns an implementation of the service that is backed by a ScopedRef
which will handle reloading the service. Fails with a ServiceInitializationError
exception if an error occurs while acquiring the service.
Registers the specified service with a layer that constructs the service. Returns an implementation of the service that is backed by a ScopedRef
which will handle reloading the service. Fails with a ServiceInitializationError
exception if an error occurs while acquiring the service.
Attributes
Reloads the specified service, releasing any resources associated with the service and acquiring a new service. Fails with a ServiceInitializationError
exception if an error occurs reloading the service or a ServiceNotRegistered
exception if a layer constructing the service was never registered.
Reloads the specified service, releasing any resources associated with the service and acquiring a new service. Fails with a ServiceInitializationError
exception if an error occurs reloading the service or a ServiceNotRegistered
exception if a layer constructing the service was never registered.
Attributes
Concrete fields
The live implementation of the ServiceReloader
service.
The live implementation of the ServiceReloader
service.