You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Matt Giacomini (JIRA)" <ji...@apache.org> on 2011/07/02 01:35:29 UTC

[jira] [Commented] (ZOOKEEPER-92) spring factory beans for ZooKeeper, ZooKeeperFacade and ZooKeeperServer

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13058867#comment-13058867 ] 

Matt Giacomini commented on ZOOKEEPER-92:
-----------------------------------------

Hi Patrick,

I was getting ready to create a patch for this and realized that in order for these classes to work as proper spring beans they will need to implement some spring interfaces.  I'm assuming that you guys don't want dependencies on Spring in the zookeeper core code base?  Does this mean that I should check these in as a contrib module?  

If I do go the route of creating a contrib module, then what is the process to make sure that jars are built for this module and put into Maven?  As I said above your stand spring user is going to expect to be able include a maven/ivy dependency and be off.

Thanks,
~Matt

> 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: ZookeeperClientFactoryBean.java, ZookeeperServerFactoryBean.java, 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