Alias DelegatingLocator
Denotes a Locator that can delegate resource/object location to another Locator if it is available.
alias DelegatingLocator
;
Denotes a Locator that can delegate resource/object location to another Locator if it is available. It is used to denote that a Locator when it doesn't contain the requested object will try to search it in another Locator if it is available, and if it doesn't contain the resource it will throw NotFoundException.
Note
A locator when delegates the task of resource location it should first check if locator in chain contains the object first, and fetch it afterwards. Such method is used to avoid an infinite loop when several DelegatingLocator are chained in a loop.