Look up callback methods on listener superclasses
-------------------------------------------------
Key: CAY-950
URL: https://issues.apache.org/cayenne/browse/CAY-950
Project: Cayenne
Issue Type: Improvement
Components: Cayenne Core Library
Affects Versions: 3.0
Reporter: Andrus Adamchik
Assignee: Andrus Adamchik
Fix For: 3.0
This is another feature that expands Cayenne listener implementation compared to JPA (the first one was CAY-949). To facilitate code reuse it should be nice to be able to define callback methods in a listener superclass, so that subclasses could simply override some behavior without declaring all callback methods. In fact JPA does not prohibit this behavior. It just doesn't mention anything about the superclass methods of a listener class.
Currently Cayenne throws when a declared callback method is not found. I am going to add lookup for the method in question up the hierarchy.
-- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
This archive was generated by hypermail 2.0.0 : Wed Jan 02 2008 - 13:42:57 EST