Guillaume Nodet | 6b2946d | 2009-06-18 20:57:23 +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"> |
| 21 | |
| 22 | <command-bundle xmlns="http://felix.apache.org/karaf/xmlns/gshell/v1.0.0"> |
| 23 | <command name="osgi/bundle-level"> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame^] | 24 | <action class="org.apache.felix.karaf.gshell.osgi.BundleLevel"/> |
Guillaume Nodet | 6b2946d | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 25 | </command> |
| 26 | <command name="osgi/headers"> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame^] | 27 | <action class="org.apache.felix.karaf.gshell.osgi.Headers"/> |
Guillaume Nodet | 6b2946d | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 28 | </command> |
| 29 | <command name="osgi/install"> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame^] | 30 | <action class="org.apache.felix.karaf.gshell.osgi.InstallBundle"/> |
Guillaume Nodet | 6b2946d | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 31 | </command> |
| 32 | <command name="osgi/list"> |
| 33 | <action class="org.apache.felix.karaf.gshell.osgi.ListBundles"> |
Guillaume Nodet | 6b2946d | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 34 | <property name="blueprintListener" ref="blueprintListener"/> |
| 35 | </action> |
| 36 | </command> |
| 37 | <command name="osgi/ls"> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame^] | 38 | <action class="org.apache.felix.karaf.gshell.osgi.ListServices"/> |
Guillaume Nodet | 6b2946d | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 39 | </command> |
| 40 | <command name="osgi/refresh"> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame^] | 41 | <action class="org.apache.felix.karaf.gshell.osgi.RefreshBundle"/> |
Guillaume Nodet | 6b2946d | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 42 | </command> |
| 43 | <command name="osgi/update"> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame^] | 44 | <action class="org.apache.felix.karaf.gshell.osgi.UpdateBundle"/> |
Guillaume Nodet | 6b2946d | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 45 | </command> |
| 46 | <command name="osgi/resolve"> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame^] | 47 | <action class="org.apache.felix.karaf.gshell.osgi.ResolveBundle"/> |
Guillaume Nodet | 6b2946d | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 48 | </command> |
| 49 | <command name="osgi/restart"> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame^] | 50 | <action class="org.apache.felix.karaf.gshell.osgi.RestartBundle"/> |
Guillaume Nodet | 6b2946d | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 51 | </command> |
| 52 | <command name="osgi/shutdown"> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame^] | 53 | <action class="org.apache.felix.karaf.gshell.osgi.Shutdown"/> |
Guillaume Nodet | 6b2946d | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 54 | </command> |
| 55 | <command name="osgi/start"> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame^] | 56 | <action class="org.apache.felix.karaf.gshell.osgi.StartBundle"/> |
Guillaume Nodet | 6b2946d | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 57 | </command> |
| 58 | <command name="osgi/start-level"> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame^] | 59 | <action class="org.apache.felix.karaf.gshell.osgi.StartLevel"/> |
Guillaume Nodet | 6b2946d | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 60 | </command> |
| 61 | <command name="osgi/stop"> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame^] | 62 | <action class="org.apache.felix.karaf.gshell.osgi.StopBundle"/> |
Guillaume Nodet | 6b2946d | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 63 | </command> |
| 64 | <command name="osgi/uninstall"> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame^] | 65 | <action class="org.apache.felix.karaf.gshell.osgi.UninstallBundle"/> |
Guillaume Nodet | 6b2946d | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 66 | </command> |
| 67 | </command-bundle> |
| 68 | |
| 69 | <bean id="blueprintListener" class="org.apache.felix.karaf.gshell.osgi.BlueprintListener" /> |
| 70 | |
| 71 | <service ref="blueprintListener" interface="org.osgi.service.blueprint.container.BlueprintListener" /> |
| 72 | |
| 73 | </blueprint> |