DATACOUCH-6 - Add simple support for XML config

This commit is contained in:
Michael Nitschinger
2013-07-17 14:58:51 +02:00
parent 2ed710cfa2
commit ab252f8924
10 changed files with 277 additions and 26 deletions

View File

@@ -5,8 +5,8 @@
xsi:schemaLocation="http://www.springframework.org/schema/data/couchbase http://www.springframework.org/schema/data/couchbase/spring-couchbase.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<couchbase:couchbase id="couchbase" host="localhost" bucket="bucketname" password="secure" />
<couchbase:couchbase/>
<couchbase:couchbase id="couchbase2" />
<couchbase:couchbase id="couchbase2" host="localhost" bucket="default" password="" />
</beans>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:couchbase="http://www.springframework.org/schema/data/couchbase"
xsi:schemaLocation="http://www.springframework.org/schema/data/couchbase http://www.springframework.org/schema/data/couchbase/spring-couchbase.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<couchbase:couchbase/>
<couchbase:template/>
</beans>