axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nimish Hathalia (JIRA)" <>
Subject [jira] Created: (AXIS2-505) ConfigurationContext pre-calculation in ServiceContext constructor
Date Tue, 21 Mar 2006 07:11:58 GMT
ConfigurationContext pre-calculation in ServiceContext constructor

         Key: AXIS2-505
     Project: Apache Axis 2.0 (Axis2)
        Type: Improvement
  Components: core  
    Versions: 0.94    
    Reporter: Nimish Hathalia
    Priority: Minor

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:
For more information on JIRA, see:

View raw message