Updates to ServerHooks
a) This is now a non-copyable singleton class, and pointers to a ServerHooks object have been removed from other classes. b) Added a getHookName() method to the CalloutHandle class to allow callouts to determine the hook to which they are attached. (This change was made principally to aid writing test cases.
Showing with 287 additions and 79 deletions