axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <>
Subject [jira] [Updated] (AXIS2-5375) Some of the ADB generated methods can be moved to framework level.
Date Sun, 24 Jan 2016 16:01:39 GMT


Andreas Veithen updated AXIS2-5375:
    Fix Version/s:     (was: 1.7.1)

> Some of the ADB generated methods can be moved to framework level. 
> -------------------------------------------------------------------
>                 Key: AXIS2-5375
>                 URL:
>             Project: Axis2
>          Issue Type: Improvement
>          Components: adb
>    Affects Versions: 1.5.6, 1.6.2
>            Reporter: Sagara Gunathunga 
>            Assignee: Sagara Gunathunga 
> 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 was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message