I'm reading a book that gives a list of "JavaBean Listener Naming Rules". I understand them all, but one makes me scratch my head. Here is the rule verbatim:
The type of listener to be added or removed must be passed as the argument to the method
Here is an example of that rule being correctly followed:
public void addMyListener(MyListener m)
Here is an example of that rule NOT being correctly followed:
public void addXYZListener(MyListener m)
What does that mean? Is this for user created listeners or for registering standard
Java listeners which is what I assumed?