I don't want to read these parameters in the invoke method each time the 
handler is called. 

I want to get the configuration information when the handler is initialised in 
the AbstractHandler.init(HandlerDescription) method. 

When I call getParameter() from here I get null, when I call 
getParent().getParameter() I get null.

I have tried placing the parameter details in the axis2.xml and the 
services.xml but am unable to get them.

Thx

R



----- Original Message ----
From: Deepal jayasinghe <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, 3 April, 2008 12:24:51 PM
Subject: Re: Obtaining Parameters in Handler

RICHARD FEATHERSTONE wrote:
> Hi,
>  
> I want to be able to configure a module in the services.xml for each 
> for each service that uses the module and obtain the parameters in the 
> init method of each of the handers in the module.
Hmm ,you can not do this. What you can do that is do some processing on 
module engagement time.
>  
> Can anyone tell me how I can obtain the Parameters by name from the 
> HandlerDescription?
AxisService.getParamter() or messgeContext.getParameter().

-Deepal

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to