Packages

t

com.lightbend.lagom.scaladsl.devmode

LagomDevModeServiceLocatorComponents

trait LagomDevModeServiceLocatorComponents extends CircuitBreakerComponents

Provides the Lagom dev mode service locator.

It can be used both by Lagom services, and also by non Lagom services, such as pure Play applications, in order to use the Lagom dev mode service locator. When used with non Lagom applications, serviceInfo will need to manually be implemented to return the service name.

It expects the service locator URL to be provided using the lagom.service-locator.url property, which by default will be automatically provided to the service by Lagom's dev mode build plugins.

Source
LagomDevModeComponents.scala
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LagomDevModeServiceLocatorComponents
  2. CircuitBreakerComponents
  3. LagomConfigComponent
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def actorSystem: ActorSystem
  2. abstract def circuitBreakerMetricsProvider: CircuitBreakerMetricsProvider
    Definition Classes
    CircuitBreakerComponents
  3. abstract def configuration: Configuration
    Definition Classes
    LagomConfigComponent
  4. abstract def environment: Environment
  5. abstract def executionContext: ExecutionContext
  6. abstract def materializer: Materializer
  7. abstract def scaladslWebSocketClient: ScaladslWebSocketClient
  8. abstract def serviceInfo: ServiceInfo

    If being used in a Lagom service, this will be implemented by com.lightbend.lagom.scaladsl.server.LagomServerComponents, however if it's being used by a Play application, this will need to be provided manually.

  9. abstract def wsClient: WSClient

Concrete Value Members

  1. lazy val circuitBreakerConfig: CircuitBreakerConfig
    Definition Classes
    CircuitBreakerComponents
  2. lazy val circuitBreakersPanel: CircuitBreakersPanel
    Definition Classes
    CircuitBreakerComponents
  3. def config: Config
    Definition Classes
    LagomConfigComponent
  4. lazy val devModeServiceLocatorUrl: URI
  5. lazy val serviceDiscovery: ServiceDiscovery
  6. lazy val serviceLocator: ServiceLocator
  7. lazy val serviceRegistry: ServiceRegistry