| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --> |
| <beans xmlns="http://www.springframework.org/schema/beans" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns:olingo="http://olingo.apache.org/schema/olingo4" |
| xsi:schemaLocation="http://www.springframework.org/schema/beans |
| http://www.springframework.org/schema/beans/spring-beans.xsd |
| http://olingo.apache.org/schema/olingo4 |
| http://olingo.apache.org/schema/configuration/olingo4.xsd"> |
| |
| <olingo:http-handler id="httpHandler" edm-provider="edmProvider"> |
| <olingo:reference uri="../v4.0/cs02/vocabularies/Org.OData.Core.V1.xml"> |
| <olingo:include key="Org.OData.Core.V1" value="Core"/> |
| </olingo:reference> |
| <olingo:processor ref="testProcessor"/> |
| </olingo:http-handler> |
| |
| <bean id="conversionService" |
| class="org.springframework.context.support.ConversionServiceFactoryBean"> |
| <property name="converters"> |
| <set> |
| <bean class="org.apache.olingo.ext.config.spring.editor.FullQualifiedNameConverter"/> |
| <bean class="org.apache.olingo.ext.config.spring.editor.ToFullQualifiedNameConverter"/> |
| </set> |
| </property> |
| </bean> |
| |
| <bean id="edmProvider" class="org.apache.olingo.ext.config.edm.GenericEdmProvider" /> |
| |
| <bean id="testProcessor" class="org.apache.olingo.ext.config.spring.TestProcessor" /> |
| </beans> |