[hapi] Organize the virtual function.

not used in PluginGate, write in Plugin's onInitiated().
[HapZabbixAPI] remove unnecesseary function.