/[Apache-SVN]
ViewVC logotype

Revision 885385


Jump to revision: Previous Next
Author: davidb
Date: Mon Nov 30 11:48:42 2009 UTC (14 years, 4 months ago)
Changed paths: 2
Log Message:
Made the ZooKeeper Server Running Bundle reconfigurable.

The ZooKeeper server is configured through the OSGi Configuration Admin service.
PID = org.apache.cxf.dosgi.discovery.zookeeper.server

Required configuration setting:
  clientPort
(an example value would be clientPort=2181)

All other configuration settings (such as tickTime, initLimit, syncLimit & dataDir) are defaulted. The configuration properties supported are exactly the same as the ones supported by ZooKeeper in the config/zoo.cfg file. 

Reconfiguration support:
* The ZooKeeper server is started when a configuration object with the relevant PID appears.
* Removing the configuration object with the relevant PID will stop the server.
* Changing the configuration information will cause the ZooKeeper server to be restarted within the OSGi Framework with the changed configuration.

Changed paths

Path Details
Directorycxf/dosgi/trunk/discovery/distributed/zookeeper-server/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/server/ManagedService.java modified , text changed
Directorycxf/dosgi/trunk/discovery/distributed/zookeeper-server/src/test/java/org/apache/cxf/dosgi/discovery/zookeeper/server/ManagedServiceTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26