Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-505

ConfigurationContext pre-calculation in ServiceContext constructor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.94
    • 0.95
    • kernel
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nimish Nimish Hathalia
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: