Hi,
I think you can take a look at cxf-osgi example shipped with Apache
Servicemix 4.3. With that example, when install the example bundle,
the cxf service is started, when you uninstall the example bundle, the
cxf service is down, which means you can deploy and undeploy
individual services without disrupting the other services.
P.S. Apache Servicemix 4.3 basically is an OSGi container which can
support cxf/camel/activemq out-of-box.
Freeman
On 2011-8-8, at 上午2:30, [email protected] wrote:
I'm operating in an OSGI execution environment and I need to be able
to deploy and undeploy individual services without disrupting the
other services.
-John
Quoting Willem Jiang <[email protected]>:
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
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com