Changeset 726


Ignore:
Timestamp:
2008-10-30 14:45:01 (5 years ago)
Author:
freya
Message:

formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tupper/main/src/main/kauri/spring/main-beans.xml

    r725 r726  
    11<?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/beans 
    7  http://www.sprin gframework.org/schema/beans/sprin g-beans-2.0.xsd 
    8  http://www.sprin gframework.org/schema/context 
    9  http://www.sprin gframework.org/schema/context/sprin g-context-2.5.xsd 
    10  http://kauriproject.or g/runtime/1.0#sprin gext 
    11  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"> 
    1212 
    13 <context:annotation-config/> 
     13  <context:annotation-config/> 
    1414 
    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"/> 
    1637 
    1738 
    18 <kauri:export-restservice ref="data"/> 
     39  <kauri:export-restservice ref="router"/> 
    1940 
    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"> 
    4242    <constructor-arg ref="restletContext"/> 
    4343    <constructor-arg ref="module"/> 
    4444    <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> 
    4848    </constructor-arg> 
    49 </bean> 
     49  </bean> 
    5050 
    51  
     51   
    5252 
    5353</beans> 
Note: See TracChangeset for help on using the changeset viewer.