Used ServiceManager accessor for getting the hook dispatcher

use getter from service manager