Sorry, there was a typo in the previous message.
Correct > As I understand to find * FooService * in this layer we can use class
loader of ANY module in this layer (any of a,b,c)...
--
Best regards, Alex Orlov
?
--
Best regards, Alex Orlov
s"? I mean
META-INF/services. We do create this folder and its content to give service
implementations (i.e. providers),
but not to inform, that there are the following service interfaces.
--
Best regards, Alex Orlov
>Вторник, 24 ноября 2020, 15:12 +03:00 от Alan Bateman
>:
>
lue, that provides a hashCode. I still think that provider()
name is not quite good. I would name it either "service" or "provide".
--
Best regards, Alex Orlov
>Вторник, 24 ноября 2020, 10:26 +03:00 от David Holmes
>:
>
>On 24/11/2020 4:46 pm, Alex Orlov wrote:
/consumer. And even in
https://docs.oracle.com/javase/9/docs/api/java/util/ServiceLoader.Provider.html
we assume that this is a provider, and using this provider you can get a
service.
--
Best regards, Alex Orlov
>Вторник, 24 ноября 2020, 7:47 +03:00 от David Holmes :
>
>On 23/
ill be created on the base of the
information taken from TheServiceProvider.provider() method using reflection?
--
Best regards, Alex Orlov
>Понедельник, 23 ноября 2020, 11:47 +03:00 от Alan Bateman
>:
>
>On 23/11/2020 08:28, Alex Orlov wrote:
>>
>> I don’t agree wi
> The method does return a "provider". It returns the object that is an
> instance of a class that provides the service - hence that object is a
> provider.
I don’t agree with that. It returns the object that is an instance of the
service.
--
Best regards, Alex Orlov
, as I understand, provider is usually the class, that has
"provide" method.
Of course that’s not very important, but it is JDK, so it was developed by very
experienced java developer
who should know java naming convention and I want to understand why this did
so. Could anyone explain?
--
Best regards, Alex Orlov
Hello all,
I try to determine the type of JPMS layers graph and as I understand it is a
directed acyclic graph.
Could anyone say if this is right or wrong.
--
Best regards, Alex Orlov
Hello Alan,
Thank you very much for your help. With ModuleLayer.Controller I solved the
problem.
Do I understand it correctly — it is impossible to get reference to boot layer
controller,
isn’t it?
--
Best regards, Alex Orlov
>Понедельник, 16 ноября 2020, 22:27 +03:00 от Alan Bate
package is in boot layer, but in my situation fw.module that is in boot
layer knows nothing about web application modules.
So, could anyone say how to fix this problem?
--
Best regards, Alex Orlov
API). So, the question.
How to ask JPMS not to ignore modules that it must add to layer?
--
Best regards, Alex Orlov
>Понедельник, 16 ноября 2020, 11:20 +03:00 от Alan Bateman
>:
>
>On 15/11/2020 19:16, Alex Orlov wrote:
>> Hi all,
>>
>>
--add-modules jvm argument. However, I couldn't find any information how to
force JPMS load my module (even if its classes are not used) for dynamically
created layers.
Could anyone say how to do it?
--
Best regards, Alex Orlov
when they add modules to module path, but JPMS will
ignore them.
Best regards,
>I can't explain why you don't see issues when you use module layers. It
>is possible that you've specified "net.bytebuddy" in the list of root
>modules that you specify to the resolve method?
>
>-Alan
--
Alex Orlov
regards,
>Понедельник, 22 июня 2020, 18:35 +03:00 от Alan Bateman
>:
>
>On 21/06/2020 19:52, Alex Orlov wrote:
>> Hi all,
>>
>> New version of maven-failsafe-plugin (3.0.0-M5) has been released and now it
>> is possible to have two module-info in o
child layer and
add any jars to it.
In this case JPMS doesn’t ignore any modules. Is this statement right?
--
Alex Orlov
ntime)
so as JPMS work with it as it works with module existing classes?
--
Alex Orlov
boot layer. Is this correct?
Could anyone help me with these questions?
--
Alex Orlov
18 matches
Mail list logo