Legacy Issue Number: 16589
Source: ZettaScale Technology ( Angelo Corsaro)
The name of the classes DataReaderAdapter/DataWriterAdapter are misleading since what
they are really providing are listeners with some default behaviour.
Rename the classes DataReaderAdapter/DataWriterAdapter to
SimpleDataReaderListener and SimpleDataWriterListener.
For the SimpleDataReaderListener one could implement trivially all
the method but the one that notifies the availability of data,
Reported: DDS-Java 1.0b1 — Tue, 11 Oct 2011 04:00 GMT
Disposition: Resolved — DDS-Java 1.0b2
This issue is closed without any changes. Providing no-op listener implementations, and replacing “Listener” with “Adapter” in the class name, is a common JDK idiom. You will see it throughput AWT and Swing, for example, which abound with listeners. The rationale for this pattern is described in section 18.104.22.168, “Listeners”.
Disposition: Closed, no change
Updated: Fri, 6 Mar 2015 20:58 GMT
DDSJAVA — Misnamed Listener Helper
- Key: DDSJAVA-37
- OMG Task Force: Java 5 Language PSM for DDS 1.0 FTF