Simon Chemouil a écrit le 07/08/2016 17:37 :
> public void register(TCPServer tcpServer) {
>
> this.tcpServer = tcpServer;
>
> // blocking code.
> reg = context.registerService(TCPServer.class, tcpServer, null);
>
> // this thread will potentially activate components depending
> // on the service.
> }
Refactoring code in my MUA ain't no good, and
BundleContext#registerService should not be considered blocking code.
--
Simon
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev