No, TLcdServiceLoader
is not thread-safe.
It should not be used by multiple concurrent threads.
As a result, no special requirements are enforced on the service objects registered with the registry. They don’t need to be thread-safe.
For example, it is perfectly valid to annotate a non-thread-safe model decoder with the @LcdService
annotation.