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.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- LagomDevModeServiceLocatorComponents
- CircuitBreakerComponents
- LagomConfigComponent
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
actorSystem: ActorSystem
- Definition Classes
- LagomDevModeServiceLocatorComponents → CircuitBreakerComponents
-
abstract
def
circuitBreakerMetricsProvider: CircuitBreakerMetricsProvider
- Definition Classes
- CircuitBreakerComponents
-
abstract
def
configuration: Configuration
- Definition Classes
- LagomConfigComponent
- abstract def environment: Environment
-
abstract
def
executionContext: ExecutionContext
- Definition Classes
- LagomDevModeServiceLocatorComponents → CircuitBreakerComponents
- abstract def materializer: Materializer
- abstract def scaladslWebSocketClient: ScaladslWebSocketClient
-
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.
- abstract def wsClient: WSClient
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from LagomDevModeServiceLocatorComponents to any2stringadd[LagomDevModeServiceLocatorComponents] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (LagomDevModeServiceLocatorComponents, B)
- Implicit
- This member is added by an implicit conversion from LagomDevModeServiceLocatorComponents to ArrowAssoc[LagomDevModeServiceLocatorComponents] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
lazy val
circuitBreakerConfig: CircuitBreakerConfig
- Definition Classes
- CircuitBreakerComponents
-
lazy val
circuitBreakersPanel: CircuitBreakersPanel
- Definition Classes
- CircuitBreakerComponents
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
config: Config
- Definition Classes
- LagomConfigComponent
- lazy val devModeServiceLocatorUrl: URI
-
def
ensuring(cond: (LagomDevModeServiceLocatorComponents) ⇒ Boolean, msg: ⇒ Any): LagomDevModeServiceLocatorComponents
- Implicit
- This member is added by an implicit conversion from LagomDevModeServiceLocatorComponents to Ensuring[LagomDevModeServiceLocatorComponents] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (LagomDevModeServiceLocatorComponents) ⇒ Boolean): LagomDevModeServiceLocatorComponents
- Implicit
- This member is added by an implicit conversion from LagomDevModeServiceLocatorComponents to Ensuring[LagomDevModeServiceLocatorComponents] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): LagomDevModeServiceLocatorComponents
- Implicit
- This member is added by an implicit conversion from LagomDevModeServiceLocatorComponents to Ensuring[LagomDevModeServiceLocatorComponents] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): LagomDevModeServiceLocatorComponents
- Implicit
- This member is added by an implicit conversion from LagomDevModeServiceLocatorComponents to Ensuring[LagomDevModeServiceLocatorComponents] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from LagomDevModeServiceLocatorComponents to StringFormat[LagomDevModeServiceLocatorComponents] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val serviceDiscovery: ServiceDiscovery
- lazy val serviceLocator: ServiceLocator
- lazy val serviceRegistry: ServiceRegistry
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
→[B](y: B): (LagomDevModeServiceLocatorComponents, B)
- Implicit
- This member is added by an implicit conversion from LagomDevModeServiceLocatorComponents to ArrowAssoc[LagomDevModeServiceLocatorComponents] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc