call delegate '#getService()' when looking up single service#132
call delegate '#getService()' when looking up single service#132theborakompanioni wants to merge 1 commit intoJavaMoney:masterfrom
Conversation
as classes implementing `ServiceProvider` may define their own custom behaviour, let the `ServiceProvider` instance itself fetch a single service by name instead of using an own standard strategy (using the first one returned by `#getServices(Class)`) this way it is prevented that a `ServiceProvider` must load all services of the class even if they are not generellay needed (including all side effects e.g. loading data from remote services)
2664c9a to
dd4cc06
Compare
|
Are you a JCP member? Because we cannot accept PRs from non-members in the API, RI or TCK repositories. We just had a MR1, so it may be up to the next version, if you are able to join the JCP we'd be happy to accept the PR. |
|
Hey @keilw! Thanks for your response. Thank you for your time and service. |
|
We have to see, the general mechanism is not different from other JSRs but it needs to wait till a really new JSR anyway. |
|
Any updates on this @keilw ? |
|
No @theborakompanioni there is no new JSR so it'll have to wait. |
as classes implementing
ServiceProvidermay define their own custom behaviour, let theServiceProviderinstance itself fetch a single service by name instead of using an own standard strategy (using the first one returned by#getServices(Class))this way it is prevented that a
ServiceProvidermust load all services of the class even if they are not generellay needed (including all side effects e.g. loading data from remote services)This change is