You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2005/08/31 07:06:04 UTC

[jira] Created: (AXIS2-195) Need to provide a way to configure modules when referring them

Need to provide a way to configure modules when referring them 
---------------------------------------------------------------

         Key: AXIS2-195
         URL: http://issues.apache.org/jira/browse/AXIS2-195
     Project: Apache Axis 2.0 (Axis2)
        Type: Improvement
  Components: core  
 Reporter: Deepal Jayasinghe



Through axis2.xml and service.xml we can add module references and if there is a module reference element in those descriptors then those module will be engaged into globally and service respectively. 

But there can be instance that some module need to be configure through those descriptors, and when we referring to module providing a way to add module configurable parameter into those descriptors. I prefer following way of specifying them.

<module ref="modulefoo">
    <parameter name="modulepara" locked="false">foovalue</parameter>
</module>


In addition to that , when we engaging module at the run time the corresponding methods has to change to take parameter list as argument. 

Comments ..... 

-- 
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


[jira] Resolved: (AXIS2-195) Need to provide a way to configure modules when referring them

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-195?page=all ]
     
Deepal Jayasinghe resolved AXIS2-195:
-------------------------------------

    Resolution: Fixed

The enaging module by adding module refernce tag is still there as it is

<module ref="ModuleName"/>
but in that case to be valid module should availble in the repository or class path , but to add module configuration that is not requirment. If you add the  module configuration when some one ask for module parameter those module config para will be return depending on the situdation

<moduleConfig name="Servie_module">
  <parameter name="Servie_module_para" locked="false">N/A</parameter> 
  </moduleConfig>


> Need to provide a way to configure modules when referring them
> --------------------------------------------------------------
>
>          Key: AXIS2-195
>          URL: http://issues.apache.org/jira/browse/AXIS2-195
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Improvement
>   Components: core
>     Reporter: Deepal Jayasinghe

>
> Through axis2.xml and service.xml we can add module references and if there is a module reference element in those descriptors then those module will be engaged into globally and service respectively. 
> But there can be instance that some module need to be configure through those descriptors, and when we referring to module providing a way to add module configurable parameter into those descriptors. I prefer following way of specifying them.
> <module ref="modulefoo">
>     <parameter name="modulepara" locked="false">foovalue</parameter>
> </module>
> In addition to that , when we engaging module at the run time the corresponding methods has to change to take parameter list as argument. 
> Comments ..... 

-- 
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