summaryrefslogtreecommitdiffstats
path: root/collaboration/GSoC-2011-Eranda/couchdb/src/main/resources/datastore.composite
blob: bf67ad5eee25c2d94116fbef0de37744bae69fb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
           xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
           targetNamespace="http://datastore"
           name="datastore-contribution">
	<component name="DatastoreComponent">
	    	<implementation.java class="org.apache.tuscany.nosqldatastore.DatastoreServiceImpl"/>
		    <service name="DatastoreService">
		        <interface.java interface="org.apache.tuscany.nosqldatastore.DatastoreService"/>
                <tuscany:binding.rest uri="http://localhost:8085/DatastoreService">
                    <tuscany:wireFormat.json/>
	                <tuscany:operationSelector.jaxrs/>
                </tuscany:binding.rest>
        	</service>
    </component>               
</composite>