Why don't you use a static hook in the callback handler class itself?

Thanks,
Ruchith

On Fri, May 2, 2008 at 7:37 AM, Parham, Clinton <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi,
>
>
>
> I'm new to Axis2 and still trying to get comfortable with the new
> architecture. I have engaged the Rampart module and during
> CallbackHandler.handle(), I need to connect to my database to verify the
> password. Once verified, I would like to store the database connection
> (along with some other related information) for reuse later in the
> processing. Under heavy utilization, requesting two database connections per
> request starts adding up.
>
>
>
> How can I do this? MessageContext (where I stored this with Axis1) is null
> during CallbackHandler.handle(). I've seen other similar postings but no
> clear answer.
>
>
>
> Thank you.
>
>



-- 
http://blog.ruchith.org
http://wso2.org

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

Reply via email to