[ 
https://issues.apache.org/jira/browse/SHINDIG-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Lindner closed SHINDIG-1474.
---------------------------------


part of 2.5.0-beta1 release.

                
> Relax field and constructor modifiers in GadgetSpec to make it easier to 
> extend
> -------------------------------------------------------------------------------
>
>                 Key: SHINDIG-1474
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1474
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Java
>    Affects Versions: 2.0.2
>            Reporter: Mat Mannion
>             Fix For: 2.5.0-beta1
>
>         Attachments: shindig-1474.diff
>
>
> In our application, we have a requirement to extend GadgetSpec so that we can 
> parse a custom namespace on the gadget XML that provides extra information to 
> the spec about (e.g.) validation of UserPrefs.
> Unfortunately, it isn't possible to directly extend GadgetSpec at the moment, 
> because the substitute() method creates a new instance of the GadgetSpec (not 
> the extended class). It isn't possible to extend the substitute() method 
> because it calls a private constructor and sets private fields on GadgetSpec 
> that can't be set from a subclass.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to