diff --git a/src/docs/latest/java/CoreConcepts.html b/src/docs/latest/java/CoreConcepts.html index 6205a3eb9e6..84c5c2f8847 100644 --- a/src/docs/latest/java/CoreConcepts.html +++ b/src/docs/latest/java/CoreConcepts.html @@ -48,4 +48,3 @@

Cluster Bootstrapping as a new way to form a cluster.

These new defaults may require at least two changes on your codebase. First, if you want to opt-in to cluster bootstrapping you must make sure you don’t set seed-nodes. seed-nodes always takes precedence over any other cluster formation mechanism. Second, if you use Cluster Bootstrapping, you will have to setup a discovery mechanism (see the Lagom Cluster reference guide for more details).

§Service Location

You no longer have a ServiceLocator provided by the tooling libraries so you will have to provide one of your choice. We recommend using the new lagom-akka-discovery-service-locator which is implemented using Akka Service Discovery implementations.

+

You first need to add the following dependency to each service implementation in your build.sbt.

+
"com.lightbend.lagom" %% "lagom-javadsl-akka-discovery-service-locator" % "1.0.0"
+
+

or if you are using maven.

+
<dependency>
+    <groupId>com.lightbend.lagom</groupId>
+    <artifactId>lagom-javadsl-akka-discovery-service-locator_2.12</artifactId>
+    <version>1.0.0</version>
+</dependency>
+

Read the docs of the new lagom-akka-discovery-service-locator for details on how to setup the Akka Service Discovery method. For example,

akka {
   discovery {
diff --git a/src/docs/latest/java/ReferenceGuide.html b/src/docs/latest/java/ReferenceGuide.html
index 9d35e2d707c..7e4f3538f4f 100644
--- a/src/docs/latest/java/ReferenceGuide.html
+++ b/src/docs/latest/java/ReferenceGuide.html
@@ -1,6 +1,5 @@
 

§Lagom reference guide

-

Configuring builds and the development environment

  1. diff --git a/src/docs/latest/java/api/com/lightbend/lagom/javadsl/api/CircuitBreaker.CircuitBreakerId.html b/src/docs/latest/java/api/com/lightbend/lagom/javadsl/api/CircuitBreaker.CircuitBreakerId.html index 01e01f9a64e..b2e1ee7b9e7 100644 --- a/src/docs/latest/java/api/com/lightbend/lagom/javadsl/api/CircuitBreaker.CircuitBreakerId.html +++ b/src/docs/latest/java/api/com/lightbend/lagom/javadsl/api/CircuitBreaker.CircuitBreakerId.html @@ -268,11 +268,7 @@

    toString

  2. Index
  3. Help
  4. -
    +
@@ -155,8 +155,8 @@

Method Summary

Method and Description -List<Binding<?>> -bindings(Environment environment, +List<play.inject.Binding<?>> +bindings(play.Environment environment, com.typesafe.config.Config config)  @@ -164,14 +164,14 @@

Method Summary

  • -

    Methods inherited from class play.inject.Module

    -bindClass, bindings
  • +

    Methods inherited from class play.inject.Module

    +bindClass, bindings -
    +
    @@ -150,16 +150,16 @@

    Method Summary

    Method and Description -scala.collection.Seq<play.api.inject.Binding<?>> -bindings(play.api.Environment environment, - play.api.Configuration configuration)  +scala.collection.Seq<play.api.inject.Binding<?>> +bindings(play.api.Environment environment, + play.api.Configuration configuration)  -
    +
    @@ -150,16 +150,16 @@

    Method Summary

    Method and Description -scala.collection.Seq<play.api.inject.Binding<?>> -bindings(play.api.Environment environment, - play.api.Configuration configuration)  +scala.collection.Seq<play.api.inject.Binding<?>> +bindings(play.api.Environment environment, + play.api.Configuration configuration)  -
    +
    @@ -155,8 +155,8 @@

    Method Summary

    Method and Description -List<Binding<?>> -bindings(Environment environment, +List<play.inject.Binding<?>> +bindings(play.Environment environment, com.typesafe.config.Config config)  @@ -164,14 +164,14 @@

    Method Summary

  • -

    Methods inherited from class play.inject.Module

    -bindClass, bindings
  • +

    Methods inherited from class play.inject.Module

    +bindClass, bindings
    • -

      Methods inherited from class play.api.inject.Module

      +

      Methods inherited from class play.api.inject.Module

      bind, bind, seq, seq
      @@ -218,11 +218,11 @@

      Method Detail

      • bindings

        -
        public List<Binding<?>> bindings(Environment environment,
        -                                 com.typesafe.config.Config config)
        +
        public List<play.inject.Binding<?>> bindings(play.Environment environment,
        +                                             com.typesafe.config.Config config)
        Specified by:
        -
        bindings in class Module
        +
        bindings in class play.inject.Module
      @@ -250,11 +250,7 @@

      bindings

    • Index
    • Help
    -
    +
    default AdditionalRouter -additionalRouter(play.api.routing.Router router) +additionalRouter(play.api.routing.Router router)
    Helper method to create an AdditionalRouter instance that can be used to - declare additional Play Routers on a Lagom Service.
    + declare additional Play Routers on a Lagom Service. @@ -266,18 +266,18 @@

    Method Detail

  • additionalRouter

    @ApiMayChange
    -default <R extends play.api.routing.RouterAdditionalRouter additionalRouter(Class<R> router)
    +default <R extends play.api.routing.Router> AdditionalRouter additionalRouter(Class<R> router)
    Helper method to create an AdditionalRouter instance that can be used to - declare additional Play Routers on a Lagom Service. + declare additional Play Routers on a Lagom Service. -

    This method should be used when the Router has some dependencies and needs to get them injected +

    This method should be used when the Router has some dependencies and needs to get them injected by Lagom's runtime DI infrastructure (Guice). -

    Typically, this will be a Router generated from a Play routes - or a akka-grpc generated Play Router. +

    Typically, this will be a Router generated from a Play routes + or a akka-grpc generated Play Router. -

    Once you declare a Router, you may need to define its prefix to indicate on which path it should be available. +

    Once you declare a Router, you may need to define its prefix to indicate on which path it should be available.

      bindService(
    @@ -286,8 +286,8 @@ 

    additionalRouter

    );
    - You don't need to configure a prefix if the Router has it pre-configured. - A akka-grpc generated Play Router, for instance, has its prefix already defined by the gRPC descriptor + You don't need to configure a prefix if the Router has it pre-configured. + A akka-grpc generated Play Router, for instance, has its prefix already defined by the gRPC descriptor and doesn't need to have its prefix reconfigured.

    Note that this method won't create a binding and is intended to be used in conjunction with @@ -309,15 +309,15 @@

    additionalRouter

  • additionalRouter

    @ApiMayChange
    -default AdditionalRouter additionalRouter(play.api.routing.Router router)
    +default AdditionalRouter additionalRouter(play.api.routing.Router router)
    Helper method to create an AdditionalRouter instance that can be used to - declare additional Play Routers on a Lagom Service. + declare additional Play Routers on a Lagom Service. -

    This method should be used when the Router does not have any +

    This method should be used when the Router does not have any other dependencies and therefore can be immediately passed as an instance. -

    Once you declare a Router, you may need to define its prefix to indicate on which path it should be available. +

    Once you declare a Router, you may need to define its prefix to indicate on which path it should be available.

      bindService(
    @@ -326,7 +326,7 @@ 

    additionalRouter

    );
    - You don't need to configure a prefix if the Router has it pre-configured. + You don't need to configure a prefix if the Router has it pre-configured.

    Note that this method won't create a binding and is intended to be used in conjunction with bindService(Class, Service, AdditionalRouter, AdditionalRouter...) @@ -548,11 +548,7 @@

    serviceBinding

  • Index
  • Help
  • -
    +
    additionalRouter(Router) - Method in interface com.lightbend.lagom.javadsl.server.ServiceGuiceSupport
    Helper method to create an AdditionalRouter instance that can be used to - declare additional Play Routers on a Lagom Service.
    + declare additional Play Routers on a Lagom Service.
    AdditionalRouter$ - Class in com.lightbend.lagom.javadsl.server
     
    @@ -561,7 +561,7 @@

    C

    Use constructor accepting CircuitBreakersPanel instead
    -
    ClassBased<R extends play.api.routing.Router> - Class in com.lightbend.lagom.javadsl.server
    +
    ClassBased<R extends play.api.routing.Router> - Class in com.lightbend.lagom.javadsl.server
     
    ClassBased(Class<R>, Option<String>) - Constructor for class com.lightbend.lagom.javadsl.server.ClassBased
     
    @@ -4177,11 +4177,7 @@

    W

  • Help
  • -
    +