Package

com.lightbend.lagom.scaladsl

devmode

Permalink

package devmode

Visibility
  1. Public
  2. All

Type Members

  1. trait LagomDevModeComponents extends LagomDevModeServiceLocatorComponents

    Permalink

    Provides the Lagom dev mode components.

    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.

  2. trait LagomDevModeServiceLocatorComponents extends CircuitBreakerComponents

    Permalink

    Provides the Lagom dev mode service locator.

    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.

Ungrouped