Decorator and config option definitions for adding custom code (hooks) around callables.
Any method may have the ‘add_hook’ decorator applied, which yields the ability to invoke Hook objects before or after the method. (i.e. pre and post)
Hook objects are loaded by HookLoaders. Each named hook may invoke multiple Hooks.
Example Hook object:
Bases: stevedore.hook.HookManager
Execute optional pre and post methods around the decorated function. This is useful for customization around callables.
Clear loaded hooks.