in src/main/java/org/apache/sling/commons/threads/impl/Activator.java [50:61]
public void start(BundleContext context) {
this.bundleContext = context;
final Dictionary<String, Object> props = new Hashtable<String, Object>();
props.put(Constants.SERVICE_DESCRIPTION, "Apache Sling Thread Pool Manager");
props.put(Constants.SERVICE_VENDOR, "The Apache Software Foundation");
props.put(Constants.SERVICE_PID, DefaultThreadPool.class.getName() + ".factory");
this.service = new DefaultThreadPoolManager(this.bundleContext, props);
this.serviceReg = this.bundleContext.registerService(new String[] {ThreadPoolManager.class.getName(),
ManagedServiceFactory.class.getName()}, service, props);
WebConsolePrinter.initPlugin(this.bundleContext, this.service);
}