[ http://issues.apache.org/struts/browse/SHALE-190?page=all ]

Ingo Dueppe updated SHALE-190:
------------------------------

    Attachment: LifecycleListener2.java.patch

The patch solve the "FIXME - should we look for inherited fields with 
@Property/@Value too?" in the LifecycleListener2 of the tiger module.


> Allow Managed Properties on Abstract Base Classes
> -------------------------------------------------
>
>                 Key: SHALE-190
>                 URL: http://issues.apache.org/struts/browse/SHALE-190
>             Project: Shale
>          Issue Type: New Feature
>          Components: Tiger
>    Affects Versions: 1.0.3-SNAPSHOT
>            Reporter: Adam Brod
>         Attachments: LifecycleListener2.java.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to