Packages

t

com.lightbend.lagom.scaladsl.devmode

LagomDevModeComponents

trait LagomDevModeComponents extends LagomDevModeServiceLocatorComponents

Provides the Lagom dev mode components.

This trait primarily has two responsibilities, it provides a service locator that uses Lagom's development service locator, and it registers any services returned by the serviceInfo component with the Lagom develompent service registry.

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 and register components with Lagom. When used with non Lagom applications, serviceInfo will need to manually be implemented to return the service name and any ACLs for the service gateway to use.

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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LagomDevModeComponents
  2. LagomDevModeServiceLocatorComponents
  3. CircuitBreakerComponents
  4. LagomConfigComponent
  5. AnyRef
  6. 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 coordinatedShutdown: CoordinatedShutdown
  5. abstract def environment: Environment
  6. abstract def executionContext: ExecutionContext
  7. abstract def materializer: Materializer
  8. abstract def scaladslWebSocketClient: ScaladslWebSocketClient
  9. 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.

    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.

    Definition Classes
    LagomDevModeServiceLocatorComponents
  10. abstract def wsClient: WSClient

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from LagomDevModeComponents to any2stringadd[LagomDevModeComponents] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (LagomDevModeComponents, B)
    Implicit
    This member is added by an implicit conversion from LagomDevModeComponents to ArrowAssoc[LagomDevModeComponents] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. lazy val circuitBreakerConfig: CircuitBreakerConfig
    Definition Classes
    CircuitBreakerComponents
  8. lazy val circuitBreakers: CircuitBreakers
    Definition Classes
    CircuitBreakerComponents
  9. lazy val circuitBreakersPanel: CircuitBreakersPanel
    Definition Classes
    CircuitBreakerComponents
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. def config: Config
    Definition Classes
    LagomConfigComponent
  12. lazy val devModeServiceLocatorUrl: URI
  13. def ensuring(cond: (LagomDevModeComponents) ⇒ Boolean, msg: ⇒ Any): LagomDevModeComponents
    Implicit
    This member is added by an implicit conversion from LagomDevModeComponents to Ensuring[LagomDevModeComponents] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (LagomDevModeComponents) ⇒ Boolean): LagomDevModeComponents
    Implicit
    This member is added by an implicit conversion from LagomDevModeComponents to Ensuring[LagomDevModeComponents] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): LagomDevModeComponents
    Implicit
    This member is added by an implicit conversion from LagomDevModeComponents to Ensuring[LagomDevModeComponents] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): LagomDevModeComponents
    Implicit
    This member is added by an implicit conversion from LagomDevModeComponents to Ensuring[LagomDevModeComponents] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from LagomDevModeComponents to StringFormat[LagomDevModeComponents] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. lazy val serviceDiscovery: ServiceDiscovery
  28. lazy val serviceLocator: ServiceLocator
  29. lazy val serviceRegistry: ServiceRegistry
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  35. def [B](y: B): (LagomDevModeComponents, B)
    Implicit
    This member is added by an implicit conversion from LagomDevModeComponents to ArrowAssoc[LagomDevModeComponents] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from CircuitBreakerComponents

Inherited from LagomConfigComponent

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from LagomDevModeComponents to any2stringadd[LagomDevModeComponents]

Inherited by implicit conversion StringFormat from LagomDevModeComponents to StringFormat[LagomDevModeComponents]

Inherited by implicit conversion Ensuring from LagomDevModeComponents to Ensuring[LagomDevModeComponents]

Inherited by implicit conversion ArrowAssoc from LagomDevModeComponents to ArrowAssoc[LagomDevModeComponents]

Ungrouped