axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
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

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

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: 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 
>
> 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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message