| <?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://felix.apache.org/karaf/xmlns/gshell/v1.0.0"> |
| <command name="config/cancel"> |
| <action class="org.apache.felix.karaf.gshell.config.CancelCommand"/> |
| </command> |
| <command name="config/edit"> |
| <action class="org.apache.felix.karaf.gshell.config.EditCommand"/> |
| <completers> |
| <ref component-id="configCompleter" /> |
| <null/> |
| </completers> |
| </command> |
| <command name="config/list"> |
| <action class="org.apache.felix.karaf.gshell.config.ListCommand"/> |
| </command> |
| <command name="config/propdel"> |
| <action class="org.apache.felix.karaf.gshell.config.PropDelCommand"/> |
| <completers> |
| <ref component-id="configPropertyCompleter" /> |
| <null/> |
| </completers> |
| </command> |
| <command name="config/proplist"> |
| <action class="org.apache.felix.karaf.gshell.config.PropListCommand"/> |
| </command> |
| <command name="config/propset"> |
| <action class="org.apache.felix.karaf.gshell.config.PropSetCommand"/> |
| <completers> |
| <ref component-id="configPropertyCompleter" /> |
| <null/> |
| </completers> |
| </command> |
| <command name="config/propappend"> |
| <action class="org.apache.felix.karaf.gshell.config.PropAppendCommand"/> |
| <completers> |
| <ref component-id="configPropertyCompleter" /> |
| <null/> |
| </completers> |
| </command> |
| <command name="config/update"> |
| <action class="org.apache.felix.karaf.gshell.config.UpdateCommand"/> |
| </command> |
| </command-bundle> |
| |
| <bean id="configCompleter" class="org.apache.felix.karaf.gshell.config.completers.ConfigurationCompleter" init-method="init"> |
| <property name="admin" ref="configAdmin"/> |
| </bean> |
| <service ref="configCompleter" interface="org.osgi.service.cm.ConfigurationListener" /> |
| |
| <bean id="configPropertyCompleter" class="org.apache.felix.karaf.gshell.config.completers.ConfigurationPropertyCompleter" /> |
| |
| <reference id="configAdmin" interface="org.osgi.service.cm.ConfigurationAdmin" /> |
| |
| |
| </blueprint> |