mirror of https://github.com/apache/activemq.git
[AMQ-4931] Use auto-export="interfaces" in the Karaf commands service definition
This commit is contained in:
parent
2bbfbcfb29
commit
6258ce1761
|
@ -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"/>
|
||||
|
|
Loading…
Reference in New Issue