Guillaume Nodet | e692a96 | 2009-08-07 09:55:51 +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 | <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" |
Guillaume Nodet | cf99b61 | 2010-02-20 20:23:14 +0000 | [diff] [blame] | 21 | xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"> |
Guillaume Nodet | e692a96 | 2009-08-07 09:55:51 +0000 | [diff] [blame] | 22 | |
Guillaume Nodet | 23a0f3d | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 23 | <command-bundle xmlns="http://felix.apache.org/karaf/xmlns/shell/v1.0.0"> |
Guillaume Nodet | e692a96 | 2009-08-07 09:55:51 +0000 | [diff] [blame] | 24 | <command name="features/addUrl"> |
| 25 | <action class="org.apache.felix.karaf.features.command.AddUrlCommand"/> |
| 26 | </command> |
| 27 | <command name="features/listUrl"> |
| 28 | <action class="org.apache.felix.karaf.features.command.ListUrlCommand"/> |
| 29 | </command> |
| 30 | <command name="features/removeUrl"> |
| 31 | <action class="org.apache.felix.karaf.features.command.RemoveUrlCommand"/> |
| 32 | <completers> |
| 33 | <ref component-id="removeUrlCompleter" /> |
| 34 | </completers> |
| 35 | </command> |
| 36 | <command name="features/refreshUrl"> |
| 37 | <action class="org.apache.felix.karaf.features.command.RefreshUrlCommand"/> |
| 38 | </command> |
| 39 | <command name="features/install"> |
| 40 | <action class="org.apache.felix.karaf.features.command.InstallFeatureCommand"/> |
| 41 | <completers> |
Guillaume Nodet | 4f29a6a | 2010-06-21 08:32:00 +0000 | [diff] [blame^] | 42 | <ref component-id="uninstalledFeatureCompleter" /> |
Guillaume Nodet | e692a96 | 2009-08-07 09:55:51 +0000 | [diff] [blame] | 43 | </completers> |
| 44 | </command> |
| 45 | <command name="features/uninstall"> |
| 46 | <action class="org.apache.felix.karaf.features.command.UninstallFeatureCommand"/> |
| 47 | <completers> |
Guillaume Nodet | 4f29a6a | 2010-06-21 08:32:00 +0000 | [diff] [blame^] | 48 | <ref component-id="installedFeatureCompleter" /> |
Guillaume Nodet | e692a96 | 2009-08-07 09:55:51 +0000 | [diff] [blame] | 49 | </completers> |
| 50 | </command> |
| 51 | <command name="features/list"> |
| 52 | <action class="org.apache.felix.karaf.features.command.ListFeaturesCommand"/> |
| 53 | </command> |
Guillaume Nodet | 4f29a6a | 2010-06-21 08:32:00 +0000 | [diff] [blame^] | 54 | <command name="features/info"> |
| 55 | <action class="org.apache.felix.karaf.features.command.InfoFeatureCommand"/> |
| 56 | <completers> |
| 57 | <ref component-id="allFeatureCompleter" /> |
| 58 | </completers> |
| 59 | </command> |
Guillaume Nodet | e692a96 | 2009-08-07 09:55:51 +0000 | [diff] [blame] | 60 | </command-bundle> |
| 61 | |
| 62 | <reference id="featuresService" interface="org.apache.felix.karaf.features.FeaturesService" /> |
| 63 | |
Guillaume Nodet | 4f29a6a | 2010-06-21 08:32:00 +0000 | [diff] [blame^] | 64 | <bean id="uninstalledFeatureCompleter" class="org.apache.felix.karaf.features.command.completers.AvailableFeatureCompleter"> |
Guillaume Nodet | e692a96 | 2009-08-07 09:55:51 +0000 | [diff] [blame] | 65 | <property name="featuresService" ref="featuresService" /> |
| 66 | </bean> |
| 67 | |
Guillaume Nodet | 4f29a6a | 2010-06-21 08:32:00 +0000 | [diff] [blame^] | 68 | <bean id="installedFeatureCompleter" class="org.apache.felix.karaf.features.command.completers.InstalledFeatureCompleter"> |
| 69 | <property name="featuresService" ref="featuresService" /> |
| 70 | </bean> |
| 71 | |
| 72 | <bean id="allFeatureCompleter" class="org.apache.felix.karaf.features.command.completers.AllFeatureCompleter"> |
Guillaume Nodet | e692a96 | 2009-08-07 09:55:51 +0000 | [diff] [blame] | 73 | <property name="featuresService" ref="featuresService" /> |
| 74 | </bean> |
| 75 | |
| 76 | <bean id="removeUrlCompleter" class="org.apache.felix.karaf.features.command.completers.FeatureRepositoryCompleter"> |
| 77 | <property name="featuresService" ref="featuresService" /> |
| 78 | </bean> |
| 79 | |
| 80 | </blueprint> |