Skip to content

Instantly share code, notes, and snippets.

@roedll
Last active March 16, 2016 13:00
Show Gist options
  • Save roedll/abb40366d175e3049bbd to your computer and use it in GitHub Desktop.
Save roedll/abb40366d175e3049bbd to your computer and use it in GitHub Desktop.

Revisions

  1. roedll revised this gist Jul 23, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion shell-command-blueprint.xml
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@
    http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd"
    default-activation="lazy">

    <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0" xsi:schemaLocation="http://karaf.apache.org/xmlns/shell/v1.1.0 http://karaf.apache.org/xmlns/shell/v1.1.0">
    <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.0.0" xsi:schemaLocation="http://karaf.apache.org/xmlns/shell/v1.0.0 http://karaf.apache.org/xmlns/shell/v1.0.0">
    <command name="homer/configuration-service-list">
    <action init-method="init" class="at.ac.ait.hbs.homer.core.shell.system.commands.ConfigurationServiceList">
    <property name="dataAccess" ref="dataAccess"/>
  2. roedll created this gist Jul 22, 2014.
    27 changes: 27 additions & 0 deletions shell-command-blueprint.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,27 @@
    <?xml version="1.0" encoding="UTF-8"?>
    <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
    xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0
    http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
    http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0
    http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd"
    default-activation="lazy">

    <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0" xsi:schemaLocation="http://karaf.apache.org/xmlns/shell/v1.1.0 http://karaf.apache.org/xmlns/shell/v1.1.0">
    <command name="homer/configuration-service-list">
    <action init-method="init" class="at.ac.ait.hbs.homer.core.shell.system.commands.ConfigurationServiceList">
    <property name="dataAccess" ref="dataAccess"/>
    <property name="configurationService" ref="configurationService"/>
    </action>
    <completers>
    <null/>
    </completers>
    </command>
    </command-bundle>

    <reference id="configurationService" interface="at.ac.ait.hbs.homer.core.common.configuration.ConfigurationService" availability="mandatory"/>

    <reference id="dataAccess" interface="at.ac.ait.hbs.homer.core.common.DataAccess" availability="optional"/>

    </blueprint>