application
Generic OTP application functions
In OTP, application denotes a component implementing some specific functionality, that can be started and stopped as a unit, and which can be re-used in other systems as well. This module interfaces the application controller, a process started at every Erlang runtime system, and contains functions for controlling applications (for example starting and stopping applications), and functions to access information about applications (for example configuration parameters).
An application is defined by an application specification. The specification is normally located in an application resource file called
Application.app, where Application is the name of the application. Refer to app(4) for more information about the application specification.This module can also be viewed as a behaviour for an application implemented according to the OTP design principles as a supervision tree. The definition of how to start and stop the tree should be located in an application callback module exporting a pre-defined set of functions.
Refer to OTP Design Principles for more information about applications and behaviours.
Functions
get_all_env() -> Env
get_all_env(Application) -> Env
Application = atom()Env = [{Par,Val}]Par = atom()Val = term()








