Issue Details (XML | Word | Printable)

Key: SHALE-190
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Adam Brod
Votes: 2
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Shale

Allow Managed Properties on Abstract Base Classes

Created: 13/Jun/06 07:09 PM   Updated: 23/Jan/07 04:40 PM
Return to search
Component/s: Tiger
Affects Version/s: 1.0.3-SNAPSHOT
Fix Version/s: 1.0.4

File Attachments:
  Size
Text File Licensed for inclusion in ASF works LifecycleListener2.java.patch 2006-11-19 12:21 PM Ingo Dueppe 2 kB


 Description  « Hide

I have an abstract base class with two concrete managed bean subclasses. I would like to be able to annotate the abstract base class with @Value and have that property be available to the subclasses, even though the abstract base class isn't actually a managed bean.

Jpa has a similar feature allowing you to specify mappings on an abstract base class: http://java.sun.com/javaee/5/docs/api/javax/persistence/MappedSuperclass.html


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Ingo Dueppe added a comment - 19/Nov/06 12:21 PM
The patch solve the "FIXME - should we look for inherited fields with @Property/@Value too?" in the LifecycleListener2 of the tiger module.

Craig McClanahan added a comment - 21/Nov/06 10:45 PM
Fixed in nightly build 20061122. Will be included in 1.0.4.

Thanks to Ingo Dueppe for the patch!