All Downloads are FREE. Search and download functionalities are using the official Maven repository.

OSGI-INF.blueprint.shell-config.xml Maven / Gradle / Ivy

There is a newer version: 3.0.0.M2
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!--

    Licensed to the Austrian Association for Software Tool Integration (AASTI)
    under one or more contributor license agreements. See the NOTICE file
    distributed with this work for additional information regarding copyright
    ownership. The AASTI 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">


  <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.0.0">
    <command name="openengsb/info">
      <action class="org.openengsb.core.console.OpenEngSBInfo">
        <property name="infoProviders" ref="infoProviders"/>
        <property name="versionNumber" value="${openengsb.version.number}"/>
        <property name="droolsVersion" value="${drools.version}"/>
      </action>
    </command>
    <command name="openengsb/domains">
      <action class="org.openengsb.core.console.DomainInfoCommand"/>
    </command>
    <command name="openengsb/service">
      <action class="org.openengsb.core.console.internal.ServiceCommands">
        <property name="serviceHelper" ref="serviceHelper"/>
      </action>
      <completers>
        <ref component-id="sc"/>
      </completers>
    </command>
  </command-bundle>

  <bean id="sc" class="org.openengsb.core.console.internal.completer.ServiceCompleter">
    <argument index="0" type="org.openengsb.core.console.internal.util.ServicesHelper" ref="serviceHelper"/>
  </bean>

  <bean id="serviceHelper" class="org.openengsb.core.console.internal.util.ServicesHelper">
    <argument index="0" type="org.osgi.framework.BundleContext" ref="blueprintBundleContext"/>
  </bean>


  <reference-list id="infoProviders" interface="org.apache.karaf.shell.commands.info.InfoProvider"
                  availability="optional">
  </reference-list>
</blueprint>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy