cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nguyen Minh Tuan <minhtuan2...@gmail.com>
Subject Re: Initialize service context
Date Wed, 13 Jul 2011 03:59:26 GMT
Thanks Glen,

These are very good articles.

On Wed, Jul 13, 2011 at 3:50 AM, Glen Mazza <gmazza@talend.com> wrote:

> On these two blog entries, search on "WebServiceContext" and you'll see how
> they can be filled used from either JAX-WS handlers or CXF Interceptors, and
> accessed within the web service implementation:
>
> http://www.jroller.com/gmazza/**entry/jaxws_handler_tutorial<http://www.jroller.com/gmazza/entry/jaxws_handler_tutorial>
> http://www.jroller.com/gmazza/**entry/jaxwshandlers_to_**cxfinterceptors<http://www.jroller.com/gmazza/entry/jaxwshandlers_to_cxfinterceptors>
>
> HTH,
> Glen
>
>
> On 07/12/2011 06:31 AM, Nguyen Minh Tuan wrote:
>
>> Hi all,
>>
>> In my service implementation, I want to refer to some properties set in my
>> service context. Based on these properties, the implementation logic
>> changes. And such properties are set before I deploy the service, i.e.
>> before invoking Endpoint.publish() to create an implementor. By this way,
>> I
>> can change the service's behavior via different values set to the
>> properties.
>>
>> I read about WebServiceContext but it seems not what I am looking for.
>> Since
>> all values in WebServiceContext are only retrievable and usable in out
>> interceptors. What I needs is to use those values in my service
>> implementation.
>>
>> Could anyone explain to me what I should do in this case?
>>
>>
>
> --
> Glen Mazza
> Application Integration Division
> Talend (http://www.talend.com/ai)
> blog: http://www.jroller.com/gmazza
>
>
>


-- 
Best regards,
Tuan.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message