Hi All,
I have a bundle which registers a number of servlets as @Components.
Since they are not services, they don't have any @Service annotation,
and of course they can't be referred to via service references. This
is all working fine, except I have some functional tests (running on
pax:exam) which exercise the servlets by connecting as an http client.
The problem is, I have a race condition in my tests in that sometimes
a test will start running before the SCR has had a chance to
initialize the servlet components. Is there any way I can query the
SCR about the state of a particular component, when that component is
not a bundle?
For that matter, is the practice of registering servlets as components
in this way considered a good practice?
Thanks,
Kris
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]