| <?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. |
| |
| --> |
| <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" default-activation="lazy"> |
| |
| <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.0.0"> |
| <command name="dev/show-tree"> |
| <action class="org.apache.karaf.shell.dev.ShowBundleTree"/> |
| </command> |
| <command name="dev/framework"> |
| <action class="org.apache.karaf.shell.dev.FrameworkOptions" /> |
| </command> |
| <command name="dev/dynamic-import"> |
| <action class="org.apache.karaf.shell.dev.DynamicImport" /> |
| </command> |
| <command name="dev/print-stack-traces"> |
| <action class="org.apache.karaf.shell.dev.PrintStackTraces" /> |
| </command> |
| <command name="dev/restart"> |
| <action class="org.apache.karaf.shell.dev.Restart" /> |
| </command> |
| <command name="dev/watch"> |
| <action class="org.apache.karaf.shell.dev.Watch" > |
| <property name="watcher" ref="watcher"/> |
| </action> |
| </command> |
| </command-bundle> |
| |
| <!-- Referenace to the Configuration Admin Service --> |
| <reference id="configurationAdmin" interface="org.osgi.service.cm.ConfigurationAdmin"/> |
| |
| <bean id="watcher" class="org.apache.karaf.shell.dev.watch.BundleWatcher" init-method="start" destroy-method="stop"> |
| <property name="bundleContext" ref="blueprintBundleContext"/> |
| <property name="configurationAdmin" ref="configurationAdmin"/> |
| </bean> |
| |
| </blueprint> |