[ http://issues.apache.org/jira/browse/AXIS2-505?page=all ]
Deepal Jayasinghe resolved AXIS2-505:
-------------------------------------
Fix Version: 0.95
Resolution: Fixed
> ConfigurationContext pre-calculation in ServiceContext constructor
> ------------------------------------------------------------------
>
> Key: AXIS2-505
> URL: http://issues.apache.org/jira/browse/AXIS2-505
> Project: Apache Axis 2.0 (Axis2)
> Type: Improvement
> Components: core
> Versions: 0.94
> Reporter: Nimish Hathalia
> Priority: Minor
> Fix For: 0.95
>
> org.apache.axis2.context.ServiceContext has
> public ConfigurationContext getConfigurationContext() {
> return (ConfigurationContext) parent.getParent();
> }
> Instead of calculating the parent value in getConfigurationContext() (through
> parent.getParent()),
> can the parent.getParent() value be cached in constructor itself? This will
> save the cast when the
> getConfigurationContext() gets called from different places during
> serialization/de-serialization
> more than once.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira