activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hadr...@apache.org
Subject [02/21] git commit: [AMQ-4931] Use auto-export="interfaces" in the Karaf commands service definition
Date Thu, 13 Mar 2014 20:44:56 GMT
[AMQ-4931] Use auto-export="interfaces" in the Karaf commands service definition


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/6c6ce9ca
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/6c6ce9ca
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/6c6ce9ca

Branch: refs/heads/activemq-5.9
Commit: 6c6ce9ca762f7011e697fc4035716dedc0d9fe81
Parents: 41ac808
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Wed Dec 11 14:03:02 2013 +0100
Committer: Hadrian Zbarcea <hadrian@apache.org>
Committed: Thu Mar 13 16:27:14 2014 -0400

----------------------------------------------------------------------
 .../OSGI-INF/blueprint/activemq-karaf.xml       | 36 ++++----------------
 1 file changed, 6 insertions(+), 30 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/6c6ce9ca/activemq-karaf/src/main/resources/OSGI-INF/blueprint/activemq-karaf.xml
----------------------------------------------------------------------
diff --git a/activemq-karaf/src/main/resources/OSGI-INF/blueprint/activemq-karaf.xml b/activemq-karaf/src/main/resources/OSGI-INF/blueprint/activemq-karaf.xml
index 1a5d561..f5dda89 100644
--- a/activemq-karaf/src/main/resources/OSGI-INF/blueprint/activemq-karaf.xml
+++ b/activemq-karaf/src/main/resources/OSGI-INF/blueprint/activemq-karaf.xml
@@ -27,11 +27,7 @@
     <property name="actionId" value="listaction"/>
   </bean>
 
-  <service ref="listcommand" activation="lazy">
-    <interfaces>
-      <value>org.apache.felix.service.command.Function</value>
-      <value>org.apache.karaf.shell.console.CompletableFunction</value>
-    </interfaces>
+  <service ref="listcommand" auto-export="interfaces" activation="lazy">
     <service-properties>
       <entry key="osgi.command.scope" value="activemq"/>
       <entry key="osgi.command.function" value="list"/>
@@ -53,11 +49,7 @@
     <property name="actionId" value="queryaction"/>
   </bean>
 
-  <service ref="querycommand" activation="lazy">
-    <interfaces>
-      <value>org.apache.felix.service.command.Function</value>
-      <value>org.apache.karaf.shell.console.CompletableFunction</value>
-    </interfaces>
+  <service ref="querycommand" auto-export="interfaces" activation="lazy">
     <service-properties>
       <entry key="osgi.command.scope" value="activemq"/>
       <entry key="osgi.command.function" value="query"/>
@@ -79,11 +71,7 @@
     <property name="actionId" value="browseaction"/>
   </bean>
 
-  <service ref="browsecommand" activation="lazy">
-    <interfaces>
-      <value>org.apache.felix.service.command.Function</value>
-      <value>org.apache.karaf.shell.console.CompletableFunction</value>
-    </interfaces>
+  <service ref="browsecommand" auto-export="interfaces" activation="lazy">
     <service-properties>
       <entry key="osgi.command.scope" value="activemq"/>
       <entry key="osgi.command.function" value="browse"/>
@@ -105,11 +93,7 @@
     <property name="actionId" value="bstataction"/>
   </bean>
 
-  <service ref="bstatcommand" activation="lazy">
-    <interfaces>
-      <value>org.apache.felix.service.command.Function</value>
-      <value>org.apache.karaf.shell.console.CompletableFunction</value>
-    </interfaces>
+  <service ref="bstatcommand" auto-export="interfaces" activation="lazy">
     <service-properties>
       <entry key="osgi.command.scope" value="activemq"/>
       <entry key="osgi.command.function" value="bstat"/>
@@ -131,11 +115,7 @@
     <property name="actionId" value="purgeaction"/>
   </bean>
 
-  <service ref="purgecommand" activation="lazy">
-    <interfaces>
-      <value>org.apache.felix.service.command.Function</value>
-      <value>org.apache.karaf.shell.console.CompletableFunction</value>
-    </interfaces>
+  <service ref="purgecommand" auto-export="interfaces" activation="lazy">
     <service-properties>
       <entry key="osgi.command.scope" value="activemq"/>
       <entry key="osgi.command.function" value="purge"/>
@@ -157,11 +137,7 @@
     <property name="actionId" value="dstataction"/>
   </bean>
 
-  <service ref="dstatcommand" activation="lazy">
-    <interfaces>
-      <value>org.apache.felix.service.command.Function</value>
-      <value>org.apache.karaf.shell.console.CompletableFunction</value>
-    </interfaces>
+  <service ref="dstatcommand" auto-export="interfaces" activation="lazy">
     <service-properties>
       <entry key="osgi.command.scope" value="activemq"/>
       <entry key="osgi.command.function" value="dstat"/>


Mime
View raw message