Changeset 726
- Timestamp:
- 2008-10-30 14:45:01 (5 years ago)
- File:
-
- 1 edited
-
tupper/main/src/main/kauri/spring/main-beans.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tupper/main/src/main/kauri/spring/main-beans.xml
r725 r726 1 1 <?xml version="1.0"?> 2 <beans xmlns="http://www.springframework.org/schema/beans"3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"4 xmlns:kauri="http://kauriproject.org/runtime/1.0#springext"5 xmlns:context="http://www.springframework.org/schema/context"6 xsi:schemaLocation="http://www.springframework.org/schema/beans7 http://www.sprin gframework.org/schema/beans/spring-beans-2.0.xsd8 http://www.springframework.org/schema/context9 http://www.sprin gframework.org/schema/context/spring-context-2.5.xsd10 http://kauriproject.or g/runtime/1.0#springext11 http://www.kauriproject.or g/schemas/runtime/sprin gext.xsd">2 <beans xmlns = "http://www.springframework.org/schema/beans" 3 xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" 4 xmlns:kauri = "http://kauriproject.org/runtime/1.0#springext" 5 xmlns:context = "http://www.springframework.org/schema/context" 6 xsi:schemaLocation = "http://www.springframework.org/schema/beans 7 http://www.springframework.org/schema/beans/spring-beans-2.0.xsd 8 http://www.springframework.org/schema/context 9 http://www.springframework.org/schema/context/spring-context-2.5.xsd 10 http://kauriproject.org/runtime/1.0#springext 11 http://www.kauriproject.org/schemas/runtime/springext.xsd"> 12 12 13 <context:annotation-config/>13 <context:annotation-config/> 14 14 15 <kauri:module restletContextBeanId="restletContext" classLoaderBeanId="moduleClassLoader" rapiBeanId="module"/> 15 <kauri:module restletContextBeanId="restletContext" classLoaderBeanId="moduleClassLoader" rapiBeanId="module"/> 16 17 18 <kauri:export-restservice ref="data"/> 19 20 <bean id="data" class="org.kauriproject.dbmock.MockFinder"> 21 <constructor-arg ref="restletContext"/> 22 <constructor-arg ref="module"/> 23 </bean> 24 25 <kauri:import-restservice name="jquery"/> 26 <kauri:import-restservice name="jquery-ui"/> 27 <kauri:import-restservice name="forms"/> 28 29 <kauri:import-service id="representationBuilder" service="org.kauriproject.representation.build.RepresentationBuilder"/> 30 <bean factory-bean="representationBuilder" factory-method="install"> 31 <constructor-arg ref="module"/> 32 </bean> 33 34 <kauri:import-service id="routingService" service="org.kauriproject.routing.RoutingService"/> 35 36 <kauri:import-service id="templateService" service="org.kauriproject.template.service.TemplateService"/> 16 37 17 38 18 <kauri:export-restservice ref="data"/>39 <kauri:export-restservice ref="router"/> 19 40 20 <bean id="data" class="org.kauriproject.dbmock.MockFinder"> 21 <constructor-arg ref="restletContext"/> 22 <constructor-arg ref="module"/> 23 </bean> 24 25 <kauri:import-restservice name="jquery"/> 26 <kauri:import-restservice name="jquery-ui"/> 27 <kauri:import-restservice name="forms"/> 28 29 <kauri:import-service id="representationBuilder" service="org.kauriproject.representation.build.RepresentationBuilder"/> 30 <bean factory-bean="representationBuilder" factory-method="install"> 31 <constructor-arg ref="module"/> 32 </bean> 33 34 <kauri:import-service id="routingService" service="org.kauriproject.routing.RoutingService"/> 35 36 <kauri:import-service id="templateService" service="org.kauriproject.template.service.TemplateService"/> 37 38 39 <kauri:export-restservice ref="router"/> 40 41 <bean id="router" factory-bean="routingService" factory-method="createRouter"> 41 <bean id="router" factory-bean="routingService" factory-method="createRouter"> 42 42 <constructor-arg ref="restletContext"/> 43 43 <constructor-arg ref="module"/> 44 44 <constructor-arg> 45 <bean class="org.kauriproject.routing.RoutingConfig">46 <property name="templateService" ref="templateService"/>47 </bean>45 <bean class="org.kauriproject.routing.RoutingConfig"> 46 <property name="templateService" ref="templateService"/> 47 </bean> 48 48 </constructor-arg> 49 </bean>49 </bean> 50 50 51 51 52 52 53 53 </beans>
Note: See TracChangeset
for help on using the changeset viewer.