You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Alejandro Calbazana <al...@calbazana.com> on 2008/07/23 04:15:00 UTC

Axis2 Modules

Hello,

Does anyone have any documentation or examples on how to set up an Axis2 
module in such a way that it accepts parameters?  I'd like to configure 
a module that I've implemented to take configuration parameters to drive 
some of the module behavior at runtime.

Thanks,

Alejandro

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Axis2 Modules

Posted by Amila Suriarachchi <am...@gmail.com>.
you can load the parameters to the Configuration Context in the module init
method.

public void init(ConfigurationContext configContext,
                     AxisModule module) throws AxisFault {

and access them at the handlers. or you can set these paramenters at the
Axis2 xml (which load them to Axisconfiguration) and get them at the
handlers.

thanks,
Amila.

On Wed, Jul 23, 2008 at 7:45 AM, Alejandro Calbazana <
alejandro@calbazana.com> wrote:

> Hello,
>
> Does anyone have any documentation or examples on how to set up an Axis2
> module in such a way that it accepts parameters?  I'd like to configure a
> module that I've implemented to take configuration parameters to drive some
> of the module behavior at runtime.
>
> Thanks,
>
> Alejandro
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.