[Erlang Systems]

application

MODULE

MODULE SUMMARY

DESCRIPTION

EXPORTS

get_all_env()
get_all_env(Application) -> Env

get_all_key()
get_all_key(Application) -> {ok, Keys} | undefined

get_application()
get_application(Pid | Module) -> {ok, Application} | undefined

get_env(Key)
get_env(Application, Key) -> {ok, Value} | undefined

get_key(Key)
get_key(Application, Key) -> {ok, Value} | undefined

load(Application)
load(Application, DistNodes) -> ok | {error, Reason}

loaded_applications() -> [{Name, Description, Version}]

permit(Application, Bool) -> ok | {error, Reason}

start(Application)
start(Application, Type) -> ok | {error, Reason}

start_type() -> normal | local | {takeover, node()} | {failover, node()}

stop(Application) -> ok

takeover(Application, Type) -> {ok, Pid} | {error, Reason}

which_applications() -> [{Name, Description, Version}]

Call back Module

EXPORTS

Module:config_change(Changed, New, Removed) -> ok

Module:start(Type, ModuleStartArgs) -> {ok, Pid} | {ok, Pid, State} | {error, Reason}

Module:start_phase(Phase, Type, PhaseStartArgs) -> ok | {error, Reason}

Module:prep_stop(State) -> NewState

Module:stop(State) -> void()

See Also

AUTHORS


kernel 2.6.1
Copyright © 1991-2000 Ericsson Utvecklings AB