Class DefaultListenerObjectRetriever

All Implemented Interfaces:
Direct Known Subclasses:

public class DefaultListenerObjectRetriever extends Object implements ListenerObjectRetriever
This ListenerObjectRetriever provides common functionality that is required by typical implementations of ListenerObjectRetriever. This includes methods for checking whether a ListenerObject matches a certain request.

This class uses a List of ListenerObjectCreators for getting all ListenerObjects to search in. It does not keep a local copy of this collection, so implementations of ListenerObjectCreator are responsible of caching it.

This implementation is quite naieve, checking each ListenerObject in the Collection for a match everytime a request is made. Subclasses may replace this behaviour with more intelligent behaviour, such as caching of search results, or may implement ListenerObjectRetriever directly.

G.J. Schouten