Hi,
I am trying to use undertow (http://undertow.io) in an OSGi context. It
relies on xnio which uses a ServiceLoader to hook up to an xnio provider. I
can change the manifest easily enough such that Qthe provider is extended
by spi-fly and publishes a real OSGi service. The problem is on the
cons
I have since discovered that there is an open jira to make undertow OSGi
compliant and the devs seem game. I think I'll recommend that they just
just set the classloader they want to be the tccl, call serviceloader in
the way I'd like and then restore the tccl.
I do however think it's a nice enhan
I'd also suggest that blocking the thread either by polling in a loop or
using a dedicated timeout method is somewhat antithetical to the point of
an asynchronous call. Better usually to do something like resolve a promise
either with the service result or an exception after a threshold. This
allow