Provides all the core components of this bundle library to compile time dependency injected applications.
Provides all the core components of this bundle library.
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.
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"
Responsible for signalling ConductR that the application has started.
Responsible for signalling ConductR that the application has started.
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.
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"
LocationService used to look up services using the Typesafe ConductR Service Locator.
StatusService used to communicate the bundle status to the Typesafe ConductR Status Server.
Provides functions to set up the Play environment in accordance with what ConductR provides.
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"