Gert Vanthienen | 971f933 | 2009-06-06 13:57:36 +0000 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | |
| 4 | Licensed to the Apache Software Foundation (ASF) under one or more |
| 5 | contributor license agreements. See the NOTICE file distributed with |
| 6 | this work for additional information regarding copyright ownership. |
| 7 | The ASF licenses this file to You under the Apache License, Version 2.0 |
| 8 | (the "License"); you may not use this file except in compliance with |
| 9 | the License. You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
| 18 | |
| 19 | --> |
| 20 | <beans xmlns="http://www.springframework.org/schema/beans" |
| 21 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 22 | xmlns:ctx="http://www.springframework.org/schema/context" |
| 23 | xmlns:osgi="http://www.springframework.org/schema/osgi" |
| 24 | xmlns:osgix="http://www.springframework.org/schema/osgi-compendium" |
| 25 | xmlns:util="http://www.springframework.org/schema/util" |
| 26 | xmlns:gshell="http://servicemix.apache.org/schema/servicemix-gshell" |
| 27 | xsi:schemaLocation=" |
| 28 | http://www.springframework.org/schema/beans |
| 29 | http://www.springframework.org/schema/beans/spring-beans.xsd |
| 30 | http://www.springframework.org/schema/context |
| 31 | http://www.springframework.org/schema/context/spring-context.xsd |
| 32 | http://www.springframework.org/schema/osgi |
| 33 | http://www.springframework.org/schema/osgi/spring-osgi.xsd |
| 34 | http://www.springframework.org/schema/osgi-compendium |
| 35 | http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd |
| 36 | http://www.springframework.org/schema/util |
| 37 | http://www.springframework.org/schema/util/spring-util.xsd |
| 38 | http://servicemix.apache.org/schema/servicemix-gshell |
| 39 | http://servicemix.apache.org/schema/servicemix-gshell/servicemix-gshell.xsd"> |
| 40 | |
| 41 | <osgi:reference id="featuresService" interface="org.apache.felix.karaf.gshell.features.FeaturesService" cardinality="1..1"/> |
| 42 | |
| 43 | <bean id="featuresPlugin" class="org.apache.felix.karaf.webconsole.FeaturesPlugin"> |
| 44 | <property name="featuresService" ref="featuresService" /> |
| 45 | </bean> |
| 46 | |
| 47 | <osgi:service ref="featuresPlugin" interface="javax.servlet.Servlet" > |
| 48 | <osgi:service-properties> |
| 49 | <entry key="felix.webconsole.label" value="features"/> |
| 50 | </osgi:service-properties> |
| 51 | </osgi:service> |
| 52 | |
| 53 | </beans> |