cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Campbell <ccampb...@quaris.com>
Subject Re: POJO service lifecycle
Date Tue, 21 Aug 2007 18:18:51 GMT
I am using the CXFServlet to load the endpoints, so the spring
interfaces do not work. Is there a CXF way to do this?

Ray Krueger wrote:
> You can probably implement Spring's InitializingBean and
> DisposableBean interfaces. Those are called during the BeanFactory
> lifecycle.
> http://www.springframework.org/docs/api/org/springframework/beans/factory/InitializingBean.html
> http://www.springframework.org/docs/api/org/springframework/beans/factory/DisposableBean.html
> 
> This implies that Spring is instantiating your impl, and not cxf. I'm
> not sure if that's the case though. This also implies that your ok
> with implementing Spring interfaces :P
> 
> 
> On 8/21/07, Chris Campbell <ccampbell@quaris.com> wrote:
>> I have a POJO web service configured as a jaxws endpoint in a
>> servlet container.
>>
>>   <jaxws:endpoint id="someService"
>>                   implementor="test.SomeServiceImpl"
>>                   address="/SomeService" />
>>
>> The implementor needs to be informed when it is shutdown, how do I
>> get CXF to do this?
>>
> 

Mime
View raw message