Class

com.lightbend.lagom.scaladsl.client

LagomClientApplication

Related Doc: package client

Permalink

abstract class LagomClientApplication extends LagomServiceClientComponents

Convenience for constructing service clients in a non Lagom server application.

It is important to invoke #stop when the application is no longer needed, as this will trigger the shutdown of all thread and connection pools.

Source
ServiceClient.scala
Linear Supertypes
LagomServiceClientComponents, TopicFactoryProvider, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LagomClientApplication
  2. LagomServiceClientComponents
  3. TopicFactoryProvider
  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

Instance Constructors

  1. new LagomClientApplication(clientName: String, classLoader: ClassLoader = ...)

    Permalink

Abstract Value Members

  1. abstract def serviceLocator: ServiceLocator

    Permalink
    Definition Classes
    LagomServiceClientComponents
  2. abstract def wsClient: WSClient

    Permalink
    Definition Classes
    LagomServiceClientComponents

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 LagomClientApplication to any2stringadd[LagomClientApplication] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (LagomClientApplication, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from LagomClientApplication to ArrowAssoc[LagomClientApplication] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. lazy val actorSystem: ActorSystem

    Permalink
  7. lazy val applicationLifecycle: ApplicationLifecycle

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. lazy val circuitBreakerMetricsProvider: CircuitBreakerMetricsProvider

    Permalink
    Definition Classes
    LagomServiceClientComponents
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. lazy val configuration: Configuration

    Permalink
  12. lazy val defaultExceptionSerializer: ExceptionSerializer

    Permalink
    Definition Classes
    LagomServiceClientComponents
  13. def ensuring(cond: (LagomClientApplication) ⇒ Boolean, msg: ⇒ Any): LagomClientApplication

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

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from LagomClientApplication to Ensuring[LagomClientApplication] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. lazy val environment: Environment

    Permalink
  18. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. lazy val executionContext: ExecutionContext

    Permalink
  21. def finalize(): Unit

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from LagomClientApplication to StringFormat[LagomClientApplication] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  26. lazy val materializer: Materializer

    Permalink
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  30. def optionalTopicFactory: Option[TopicFactory]

    Permalink
    Definition Classes
    TopicFactoryProvider
  31. lazy val scaladslWebSocketClient: ScaladslWebSocketClient

    Permalink
    Definition Classes
    LagomServiceClientComponents
  32. lazy val serviceClient: ServiceClient

    Permalink
    Definition Classes
    LagomServiceClientComponents
  33. lazy val serviceInfo: ServiceInfo

    Permalink
  34. lazy val serviceResolver: ServiceResolver

    Permalink
    Definition Classes
    LagomServiceClientComponents
  35. def stop(): Unit

    Permalink

    Stop the application.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  38. def topicPublisherName: Option[String]

    Permalink

    The name of the topic publisher.

    The name of the topic publisher.

    Since topic publishers don't actually provide any components, they just consume a LagomServer and publish the topics they find there, this can be used to signal that a topic publisher has been provided to publish topics, so that the LagomServerComponents can detect a misconfiguration where one hasn't been provided.

    returns

    The name of the topic publisher that has published topics, if one has been provided.

    Definition Classes
    TopicFactoryProvider
  39. final def wait(): Unit

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

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from LagomClientApplication to ArrowAssoc[LagomClientApplication] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from TopicFactoryProvider

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped