blob: a7e7ead20b3f2304e1ebdba1ceb73654964a1ff9 [file] [log] [blame]
%%%-------------------------------------------------------------------
%% @doc dubbo_sample_service top level supervisor.
%% @end
%%%-------------------------------------------------------------------
-module(dubbo_sample_service_sup).
-behaviour(supervisor).
%% API
-export([start_link/0]).
%% Supervisor callbacks
-export([init/1]).
-define(SERVER, ?MODULE).
%%====================================================================
%% API functions
%%====================================================================
start_link() ->
supervisor:start_link({local, ?SERVER}, ?MODULE, []).
%%====================================================================
%% Supervisor callbacks
%%====================================================================
%% Child :: {Id,StartFunc,Restart,Shutdown,Type,Modules}
init([]) ->
{ok, { {one_for_all, 0, 1}, []} }.
%%====================================================================
%% Internal functions
%%====================================================================