axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sahan Gamage (JIRA)" <>
Subject [jira] Commented: (AXIS2C-645) Need to pass configuration context to axis2_module_shutdown()
Date Sun, 17 Feb 2008 16:44:34 GMT


Sahan Gamage commented on AXIS2C-645:

Even in the execution perspective I don't see an extra dependency by doing this. If what you're
arguing is correct then passing conf_ctx to the module_init() is also a violation of the abstraction.

The idea was, if the module do something with the conf_ctx at the initialization (and subsequent
execution of it's handlers) then it should undo that before exit in order to maintain the
correct state. Having a table inside the module and keep track of the changes is one way of
doing that. But I would consider that as a "hack" rather than the proper method.
I don't agree with the last point. The module knows what it did push to the conf_ctx as properties
and hence it has a good idea about how to pull them out and clean it. Core may not have any
idea about the data inside these objects - so module has much more control over cleaning up
module specific properties.

> Need to pass configuration context to axis2_module_shutdown()
> -------------------------------------------------------------
>                 Key: AXIS2C-645
>                 URL:
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: core/description
>    Affects Versions: Current (Nightly)
>            Reporter: Sahan Gamage
>            Priority: Minor
> We need to pass configuration context to module shutdown function since modules might
have pushed module specific data as parameters to configuration context. Cleaning module specific
data by the module itself and not by the axis2 core is the most suitable way I believe.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message