Not sure what's your meaning of server.
But I think the server which is create from JaxWsServerFactoryBean can be start and stop with java code as you want.

On 8/6/11 9:29 PM, [email protected] wrote:

I need to be able to unpublish the service without restarting the server.

Quoting Willem Jiang <[email protected]>:

Yes, it is possible.

You can using JaxWsServerFactoryBean to publish the service or stop the
server as you want.

You can find more information here[1]

[1]http://cxf.apache.org/docs/a-simple-jax-ws-service.html

On 8/6/11 9:04 AM, [email protected] wrote:
I'd like to embed CXF in a way similar to the way it could be done in
XFire, http://xfire.codehaus.org/Embedding+XFire

I need to be able to programmatically register and unregister services
and I need to be able to construct the service with an instance of my
service class so that I can inject dependencies.

I don't want to use spring.

Is this possible?
-John




--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang






--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Reply via email to