package devmode
Type Members
-
trait
LagomDevModeComponents extends LagomDevModeServiceLocatorComponents
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. -
trait
LagomDevModeServiceLocatorComponents extends CircuitBreakerComponents
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.