[
https://issues.apache.org/jira/browse/ZOOKEEPER-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Giacomini updated ZOOKEEPER-92:
------------------------------------
Attachment: ZookeeperServerFactoryBean.java
Here is my ZookeeperServerFactoryBean that I use to start a zookeeper server
inside of a Spring 3 container.
<bean id="zookeeperServer"
class="com.gltech.pawnstorm.service.ZookeeperServerFactoryBean">
<property name="configLocation" value="zoo.cfg"/>
</bean>
If anyone would like me to commit this as an actual patch, then please point me
to the instructions on how to do that properly. I would also be willing to do
documentation for Spring Integration of zookeeper if anyone is interested.
> spring factory beans for ZooKeeper, ZooKeeperFacade and ZooKeeperServer
> -----------------------------------------------------------------------
>
> Key: ZOOKEEPER-92
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-92
> Project: ZooKeeper
> Issue Type: Sub-task
> Components: java client
> Reporter: james strachan
> Attachments: ZookeeperServerFactoryBean.java
>
>
> for folks who use Spring for Dependency Injection it might be handy to have a
> couple of factory beans to make it easier to create and configure the
> ZooKeeper, ZooKeeperFacade and ZooKeeperServer via the normal Spring
> dependency mechanism; via Java or XML code etc
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira