Few questions
Alan Bateman
Alan.Bateman at oracle.com
Sat Nov 26 14:44:49 UTC 2016
On 26/11/2016 10:50, Michał Zegan wrote:
> well, about services, the problem is (probably) that services in jigsaw,
> last I've checked, were purely static in nature.
> That is they cannot dynamically appear and disappear and modules cannot
> be notified about it, that wuld be a reason for a service container.
Layers can be created and be GC'ed. If you look at jlink or javac then
you'll see that they create a layer to load service providers (jlink
plugins in the case of jlink). So a different model so what you might be
looking for. All I can suggest is to try things out to get familiar with
how it all works.
-Alan
More information about the jigsaw-dev
mailing list