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

Sagara Gunathunga  reassigned AXIS2-5375:
-----------------------------------------

    Assignee: Sagara Gunathunga 
    
> Some of the ADB generated methods can be moved to framework level. 
> -------------------------------------------------------------------
>
>                 Key: AXIS2-5375
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5375
>             Project: Axis2
>          Issue Type: Improvement
>          Components: adb
>    Affects Versions: 1.5.6, 1.6.2
>            Reporter: Sagara Gunathunga 
>            Assignee: Sagara Gunathunga 
>             Fix For: 1.7.0
>
>
> ADB codegen always generate following constant methods for every ADBBean 
> class. 
> getOMElement
> serialize
> generatePrefix
> writeStartElement
> writeAttribute
> writeAttribute
> writeQNameAttribute
> writeQName
> registerPrefix
> Non of the above methods contains bean specific logic and same set of methods 
> repeat on every generated bean class. It is possible to move these methods 
> into framework level so that they will not generate with every ADBBean.  It 
> is possible to introduce an abstract class called AbstractADBBean which 
> contains above methods, in future every non-inherited ADBBean today will be 
> extended from this AbstractADBBean. 
> This improvement simplify size of generated codes and also improve code 
> readability.    

--
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to