c

com.lightbend.lagom.scaladsl.client

LagomClientApplication

abstract class LagomClientApplication extends StandaloneLagomClientFactory

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.

Annotations
@deprecated
Deprecated

(Since version 1.4.9) Use StandaloneLagomClientFactory instead

Source
ServiceClient.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LagomClientApplication
  2. StandaloneLagomClientFactory
  3. LagomClientFactory
  4. LagomConfigComponent
  5. LagomServiceClientComponents
  6. TopicFactoryProvider
  7. AnyRef
  8. 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 = ...)

Abstract Value Members

  1. abstract def serviceLocator: ServiceLocator
    Definition Classes
    LagomServiceClientComponents
  2. abstract def wsClient: WSClient
    Definition Classes
    LagomServiceClientComponents

Concrete Value Members

  1. lazy val actorSystem: ActorSystem
  2. lazy val applicationLifecycle: ApplicationLifecycle
  3. lazy val circuitBreakerMetricsProvider: CircuitBreakerMetricsProvider
    Definition Classes
    LagomServiceClientComponents
  4. def config: Config
    Definition Classes
    LagomConfigComponent
  5. lazy val configuration: Configuration
  6. lazy val coordinatedShutdown: CoordinatedShutdown
    Definition Classes
    StandaloneLagomClientFactory
  7. lazy val defaultExceptionSerializer: ExceptionSerializer
    Definition Classes
    LagomServiceClientComponents
  8. lazy val environment: Environment
  9. lazy val executionContext: ExecutionContext
  10. lazy val materializer: Materializer
  11. def optionalTopicFactory: Option[TopicFactory]
    Definition Classes
    TopicFactoryProvider
  12. lazy val scaladslWebSocketClient: ScaladslWebSocketClient
    Definition Classes
    LagomServiceClientComponents
  13. lazy val serviceClient: ServiceClient
    Definition Classes
    LagomServiceClientComponents
  14. lazy val serviceInfo: ServiceInfo
  15. lazy val serviceResolver: ServiceResolver
    Definition Classes
    LagomServiceClientComponents
  16. def stop(): Unit

    Stop this LagomClientFactory by shutting down the internal akka.actor.ActorSystem, Akka Streams akka.stream.Materializer and internal resources.

    Stop this LagomClientFactory by shutting down the internal akka.actor.ActorSystem, Akka Streams akka.stream.Materializer and internal resources.

    Definition Classes
    StandaloneLagomClientFactoryLagomClientFactory
  17. def topicPublisherName: Option[String]

    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