 Apache Karaf 3.0.5 GuidesKARAF_OPTS: extra arguments passed to the Java command line (default is null). • KARAF_DEBUG: if 'true', enable the debug mode (default is null). If debug mode is enabled, Karaf starts a JDWP socket on port 5005 ProtectionDomain null null Apache Karaf 3.0.5 GuidesKARAF_OPTS: extra arguments passed to the Java command line (default is null). • KARAF_DEBUG: if 'true', enable the debug mode (default is null). If debug mode is enabled, Karaf starts a JDWP socket on port 5005 ProtectionDomain null null- java.security.Permissions@6521c24e ( ("java.security.AllPermission" " - " " - ") ) Signers null 46 USING THE CONSOLE ---------------------------------------------------------------- Pid: my.config BundleLocation: null Properties: service.pid = my.config test = test You can delete the my.config configuration (including 0 码力 | 203 页 | 534.36 KB | 1 年前3
 Apache Karaf Decanter 2.x - Documentationare null (no authentication) by default. • index property is the Elasticsearch index where to get documents. It’s decanter by default. • query property is a search query to use. Default is null meaning documents in the index are harvested. • from and max properties are used to "square" the query. They are null by default. • timeout property limits the query execution. There’s no timeout by default. 1.2.24 ServiceTracker tracker = new ServiceTracker(bundleContext, EventAdmin.class.getName(), null); EventAdmin dispatcher = (EventAdmin) tracker.waitForService(10000); collector0 码力 | 64 页 | 812.01 KB | 1 年前3 Apache Karaf Decanter 2.x - Documentationare null (no authentication) by default. • index property is the Elasticsearch index where to get documents. It’s decanter by default. • query property is a search query to use. Default is null meaning documents in the index are harvested. • from and max properties are used to "square" the query. They are null by default. • timeout property limits the query execution. There’s no timeout by default. 1.2.24 ServiceTracker tracker = new ServiceTracker(bundleContext, EventAdmin.class.getName(), null); EventAdmin dispatcher = (EventAdmin) tracker.waitForService(10000); collector0 码力 | 64 页 | 812.01 KB | 1 年前3
 Apache Karaf Container 4.x - DocumentationKARAF_OPTS : extra arguments passed to the Java command line (default is null). • KARAF_DEBUG : if true, enable the debug mode (default is null). If debug mode is enabled, Karaf starts a JDWP socket on port 5005 ProtectionDomain null null Apache Karaf Container 4.x - DocumentationKARAF_OPTS : extra arguments passed to the Java command line (default is null). • KARAF_DEBUG : if true, enable the debug mode (default is null). If debug mode is enabled, Karaf starts a JDWP socket on port 5005 ProtectionDomain null null- java.security.Permissions@6521c24e ( ("java.security.AllPermission" " - " " - ") ) Signers null SimpleName ---------------------------------------------------------------- Pid: my.config BundleLocation: null Properties: service.pid = my.config test = test karaf@root()> config:delete my.config karaf@root()> 0 码力 | 370 页 | 1.03 MB | 1 年前3
 Apache Karaf Decanter 1.x - DocumentationgetName(), null); EventAdmin eventAdmin = (EventAdmin) tracker.waitForService(10000); collector = new BundleCollector(eventAdmin); } public void stop(BundleContext bundleContext) { collector = null; } bundleContext) { ServiceTracker tracker = new ServiceTracker(bundleContext, EventAdmin.class.getName(), null); EventAdmin eventAdmin = tracker.waitForService(10000); HelloCollector collector = new HelloCollector(eventAdmin); collector, serviceProperties); } public void stop(BundleContext bundleContext) { if (registration != null) registration.unregister(); } } Apache Karaf Decanter 1.x - DocumentationgetName(), null); EventAdmin eventAdmin = (EventAdmin) tracker.waitForService(10000); collector = new BundleCollector(eventAdmin); } public void stop(BundleContext bundleContext) { collector = null; } bundleContext) { ServiceTracker tracker = new ServiceTracker(bundleContext, EventAdmin.class.getName(), null); EventAdmin eventAdmin = tracker.waitForService(10000); HelloCollector collector = new HelloCollector(eventAdmin); collector, serviceProperties); } public void stop(BundleContext bundleContext) { if (registration != null) registration.unregister(); } }- 0 码力 | 67 页 | 213.16 KB | 1 年前 3
 Apache Karaf Cellar 3.x Documentationfor execution: public Map Apache Karaf Cellar 3.x Documentationfor execution: public Map- execute(Command command) throws Exception { if (command == null) { throw new Exception("Command store not found"); } else { //store the command to correlate it timeoutScheduler.schedule(timeoutTask, command.getTimeout(), TimeUnit.MILLISECONDS); } if (producer != null) { //send the command to the topic producer.produce(command); //retrieve the result list from the 0 码力 | 34 页 | 157.07 KB | 1 年前3
 Apache Karaf Cellar 4.x - Documentationfor execution: public Map Apache Karaf Cellar 4.x - Documentationfor execution: public Map- execute(Command command) throws Exception { if (command == null) { throw new Exception("Command store not found"); } else { //store the command to correlate it timeoutScheduler.schedule(timeoutTask, command.getTimeout(), TimeUnit.MILLISECONDS); } if (producer != null) { //send the command to the topic producer.produce(command); //retrieve the result list from the 0 码力 | 39 页 | 177.09 KB | 1 年前3
共 6 条
- 1













