axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <>
Subject [jira] Resolved: (AXIS2-194) Better Paramter searching mechinshm
Date Tue, 06 Sep 2005 05:12:30 GMT
     [ ]
Deepal Jayasinghe resolved AXIS2-194:

    Fix Version: 0.92
     Resolution: Fixed

Properties and getProperty
To access any property set at the run time , a handler can add property to wherever he wants
to MesageContext , to OperationContext , to ServiceContext and to ConfigurationContext.This
method is to retrive those properties NOT paramters

Parameter and getParameter();
To retrive configuration descriptor parameters , it is posible to get paramater specify at
any levle via this method , and the preferance is as follows,
    1. Search in operation description if its there
    2. if the paramter not found or operationContext is null will search in         ServiceDescription
    3. If the serviceDescription is null or , the paramter does not found will serach in

Module Parameter and getModuleParameter(String key, String moduleName , HandlerDescription

This method is to retrive both module configuration parameters and othere paramerts
The searching procedure is as follows;
     1. Search in module configurations inside corresponding operation descripton if its three
     2. Search in corresponding operation if its there
     3. Search in module configurations inside corresponding service description if its there
     4. Next search in Corresponding Service description if its there
     5. Next sercah in module configurations inside axisConfiguration
     6. Search in AxisConfiguration for paramters
7.Next get the corresponding module and search for the paramters

and the way of specifying module configuration is as follows
      <moduleConfig name="addressing">
          <parameter name="addressingPara" locked="false">N/A</parameter>

> Better Paramter searching mechinshm
> -----------------------------------
>          Key: AXIS2-194
>          URL:
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Improvement
>   Components: core
>     Reporter: Deepal Jayasinghe
>      Fix For: 0.92

> Implement the searching mechanism as describe  in the mail

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