[ http://issues.apache.org/jira/browse/AXIS2-194?page=all ]
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
AxisConfiguration
Module Parameter and getModuleParameter(String key, String moduleName ,
HandlerDescription handler)
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>
</moduleConfig>
> Better Paramter searching mechinshm
> -----------------------------------
>
> Key: AXIS2-194
> URL: http://issues.apache.org/jira/browse/AXIS2-194
> 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
> http://marc.theaimsgroup.com/?l=axis-dev&m=112540156513098&w=2
--
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