eclipse-ee4j / eclipse-ee4j/jersey

Allow to disable lookup of o.g.j.s.spi.ComponentProvider

Open
#3,199 7 comments 0 reactions 0 assignees View on GitHub
Component: core Priority: Major Type: Improvement
Dominant language
Java
Stars
730
Forks
382
PR merge metrics
No merged PRs in 30d

Description

Hello,

I have been trying to get the latest Jersey embedded in my application which will run on vanilla Glassfish 4.0\. In order to succeed, I need to disable any runtime look ups of the classes in the classpath (since then older Jersey version integrated into Glassfish will conflict with newer one I'm trying to embed). I'm almost done except that I cannot prevent Jersey from ServiceFinder'ing o.g.j.s.spi.ComponentProvider at o.g.j.server.ApplicationHandler. Could you make this lookup optional (which would be configuration with either METAINF_SERVICES_LOOKUP_DISBALE or a new property)?
#### Environment
Glassfish 4.0 on Linux
#### Affected Versions
[2.17, 2.19]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.