Package

com.typesafe.conductr.bundlelib.play

api

Permalink

package api

Visibility
  1. Public
  2. All

Type Members

  1. trait BundlelibComponents extends AnyRef

    Permalink

    Provides all the core components of this bundle library to compile time dependency injected applications.

  2. class BundlelibModule extends Module

    Permalink

    Provides all the core components of this bundle library.

    Provides all the core components of this bundle library. Add the following to your application.conf in order to include it:

    play.modules.enabled += "com.typesafe.conductr.bundlelib.play.api.BundlelibModule"

  3. trait ConductRApplicationComponents extends BundlelibComponents with ConductRLifecycleComponents

    Permalink

    Mixing this trait into your application cake will provide you with the necessary configuration for Play from ConductR's environment variables.

    Mixing this trait into your application cake will provide you with the necessary configuration for Play from ConductR's environment variables. You will need to mix this configuration into your own applications configuration, like so:

    class MyApplication(ctx: Context) extends BuiltInComponentsFromContext(ctx) with ConductRApplicationComponents with ... {

    override lazy val configuration = super.configuration ++ conductRConfiguration

    ... }

    It will also ensure provide the core ConductR bundle lib components, and hook ConductR into the Play lifecycle.

  4. class ConductRApplicationLoader extends ApplicationLoader

    Permalink

    Including this class into a Play project will automatically set Play's configuration up from ConductR environment variables.

    Including this class into a Play project will automatically set Play's configuration up from ConductR environment variables. Add the following to your application.conf in order to include it:

    play.application.loader = "com.typesafe.conductr.bundlelib.play.api.ConductRApplicationLoader"

  5. class ConductRLifecycle extends AnyRef

    Permalink

    Responsible for signalling ConductR that the application has started.

    Responsible for signalling ConductR that the application has started.

    Annotations
    @Singleton()
  6. trait ConductRLifecycleComponents extends AnyRef

    Permalink

    Takes care of managing ConductR lifecycle events.

    Takes care of managing ConductR lifecycle events. In order to enable ConductR lifecycle events for your compile time dependency injected application, extend this trait.

  7. class ConductRLifecycleModule extends Module

    Permalink

    Takes care of managing ConductR lifecycle events.

    Takes care of managing ConductR lifecycle events. In order to enable ConductR lifecycle events for your application, add the following to your application.conf:

    play.modules.enabled += "com.typesafe.conductr.bundlelib.play.api.ConductRLifecycleModule"

  8. class LocationService extends AbstractLocationService

    Permalink

    LocationService used to look up services using the Typesafe ConductR Service Locator.

  9. class StatusService extends AbstractStatusService

    Permalink

    StatusService used to communicate the bundle status to the Typesafe ConductR Status Server.

Value Members

  1. object Env extends scala.Env

    Permalink

    Provides functions to set up the Play environment in accordance with what ConductR provides.

Ungrouped