bootstrap: add a infra to handle pre/post moment of execution maion command
authorWonki Kim <wonki_.kim@samsung.com>
Thu, 13 Feb 2020 07:22:19 +0000 (16:22 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 3 Mar 2020 06:59:56 +0000 (15:59 +0900)
commitd2916b1c03884562022474967c791f70672adf53
tree75a86d5e469fbfd3b50559242b1c9fdf7731206d
parent44c1c056c5be1d9d0f158d2d5afdd0f4d72d3071
bootstrap: add a infra to handle pre/post moment of execution maion command

bootstrap handles APIs by using Command pattern.
global pre/post commands are executed just after and before execution of the command.
and it gets necessary to handles pre/post moment for each command.
so this patch introduces a infrastructure to handle it.

Change-Id: I2e62cb7b9018ffb020f72666276be55605a588a0
13 files changed:
bootstrap/server/inc/AurumServiceImpl.h
bootstrap/server/inc/Commands/CloseAppCommand.h
bootstrap/server/inc/Commands/Command.h
bootstrap/server/inc/Commands/GetAttributeCommand.h
bootstrap/server/inc/Commands/LaunchAppCommand.h
bootstrap/server/inc/Commands/PostCommand.h
bootstrap/server/inc/Commands/PreCommand.h
bootstrap/server/src/AurumServiceImpl.cc
bootstrap/server/src/Commands/CloseAppCommand.cc
bootstrap/server/src/Commands/Command.cc
bootstrap/server/src/Commands/LaunchAppCommand.cc
bootstrap/server/src/Commands/PostCommand.cc
bootstrap/server/src/Commands/PreCommand.cc