Attributes
- Companion
- trait
- Source
- ServiceReloader.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ServiceReloader.type
Members list
Type members
Classlikes
Attributes
- Source
- ServiceReloader.scala
- Supertypes
-
class Throwabletrait Serializableclass Objecttrait Matchableclass Any
- Known subtypes
-
class ServiceNotRegistered
Attributes
- Source
- ServiceReloader.scala
- Supertypes
Attributes
- Source
- ServiceReloader.scala
- Supertypes
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
- Source
- ServiceReloader.scala
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
- Source
- ServiceReloader.scala
Concrete fields
The live implementation of the ServiceReloader service.