You can store the value in ConfigurationContext.

Deepal
> Hi,
>
> Please help.
> I have a need for a variable that is globally accessible from my
> service implementation.
> The normal way to do this in java is using statics AFAIK.
>
> I am however painfully aware that i cannot use static variables in axis2.
> They will be shared across all service instances, and persist after
> the service call is done.
> I believe this has to do with the axis2 classloader.
>
> I really need to use some globally accessible variable in my service
> implementation though! How do i go about?
>
> My service implementation is a pojo BTW.
>
> Greetings from Holland, Joek
>


-- 
Thank you!


http://blogs.deepal.org
http://deepal.org

Reply via email to