Trait

com.lightbend.lagom.scaladsl.devmode

LagomDevModeComponents

Related Doc: package devmode

Permalink

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
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LagomDevModeComponents
  2. LagomDevModeServiceLocatorComponents
  3. CircuitBreakerComponents
  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

    Permalink
  2. abstract def applicationLifecycle: ApplicationLifecycle

    Permalink
  3. abstract def circuitBreakerMetricsProvider: CircuitBreakerMetricsProvider

    Permalink
    Definition Classes
    CircuitBreakerComponents
  4. abstract def configuration: Configuration

    Permalink
  5. abstract def environment: Environment

    Permalink
  6. abstract def executionContext: ExecutionContext

    Permalink
  7. abstract def materializer: Materializer

    Permalink
  8. abstract def scaladslWebSocketClient: ScaladslWebSocketClient

    Permalink
  9. abstract def serviceInfo: ServiceInfo

    Permalink

    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

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    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)

    Permalink
    Implicit information
    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

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. lazy val circuitBreakerConfig: CircuitBreakerConfig

    Permalink
    Definition Classes
    CircuitBreakerComponents
  8. lazy val circuitBreakers: CircuitBreakers

    Permalink
    Definition Classes
    CircuitBreakerComponents
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. lazy val devModeServiceLocatorUrl: URI

    Permalink
  11. def ensuring(cond: (LagomDevModeComponents) ⇒ Boolean, msg: ⇒ Any): LagomDevModeComponents

    Permalink
    Implicit information
    This member is added by an implicit conversion from LagomDevModeComponents to Ensuring[LagomDevModeComponents] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (LagomDevModeComponents) ⇒ Boolean): LagomDevModeComponents

    Permalink
    Implicit information
    This member is added by an implicit conversion from LagomDevModeComponents to Ensuring[LagomDevModeComponents] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): LagomDevModeComponents

    Permalink
    Implicit information
    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: Boolean): LagomDevModeComponents

    Permalink
    Implicit information
    This member is added by an implicit conversion from LagomDevModeComponents to Ensuring[LagomDevModeComponents] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    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()
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. lazy val serviceLocator: ServiceLocator

    Permalink
  26. lazy val serviceRegistry: ServiceRegistry

    Permalink
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def [B](y: B): (LagomDevModeComponents, B)

    Permalink
    Implicit information
    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 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