cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: How to get jaxws:endpoint object at the server during initialization (code first approach)
Date Tue, 22 Oct 2013 21:13:35 GMT

On Oct 21, 2013, at 9:26 PM, cxfbeginner <hahaporky@yahoo.com> wrote:

> Dear CXF devs,Is there a way to get jaxws:endpoint object so that I could
> update it at the runtime (server side)?I am trying to update/add
> "publishedEndpointUrl" attribute during the initialization from another
> property file.for example:Thank you in advance.

The jaxws:endpoint element just maps to a org.apache.cxf.jaxws.EndpointImpl object.   Thus,
you could inject the Spring context into another bean (ContextAware or similar) and query
the bean or inject the endpoint bean directly into something that could modify some of the
properties.


-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


Mime
View raw message