Class ObjectBasedListenerObjectCreator

All Implemented Interfaces:
Direct Known Subclasses:

public class ObjectBasedListenerObjectCreator extends Object implements ListenerObjectCreator
This ListenerObjectCreator creates ListenerObjects from objects. Users can pass in Objects and this class will scan the Object's class and create ListenerObjects for the public methods that are annotated with Listener. This includes all public methods that are declared in superclasses.

Please note that in Java, method annotations are NOT inherited. This means that, if you override/implement a method in a subclass or subinterface, and the overriding/implementing method does not have the annotation, then that method will not inherit it. If a class or interface just inherits a method, without overriding it, then the annotation WILL exist.

Subclasses of this class are required to call notifyObserversOnClassAdded(Class) whenever a class is scanned and its listeners are created.

G.J. Schouten