jersey
  1. jersey
  2. JERSEY-1846

Introduce a configurable option to turn off META-INF/services lookup

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: core
    • Labels:
      None

      Description

      The option should allow users to get rid of META-INF/services processing completely (Jersey should not even bother to try lookup the META-INF/services resource files)
      in order to bind needed service providers programatically.

      The default behaviour should stay intact, i.e. META-INF/services should be processed unless the new feature is explicitly switched on.

        Issue Links

          Activity

          Hide
          Libor Kramolis added a comment -

          It will be in v2.1.

          Show
          Libor Kramolis added a comment - It will be in v2.1.
          Hide
          Libor Kramolis added a comment -

          I have just pushed changes to gerrit.

          Show
          Libor Kramolis added a comment - I have just pushed changes to gerrit.
          Hide
          Libor Kramolis added a comment - - edited

          TODO: update documentation (appendix-properties.xml) after v2.0 doc is finished.

          There is a new property introduced: CommonProperties|ServerProperties|ClientProperties.METAINF_SERVICES_LOOKUP_DISABLE.

          Show
          Libor Kramolis added a comment - - edited TODO: update documentation (appendix-properties.xml) after v2.0 doc is finished. There is a new property introduced: CommonProperties|ServerProperties|ClientProperties.METAINF_SERVICES_LOOKUP_DISABLE.
          Hide
          Libor Kramolis added a comment -

          GLASSFISH-20586 - prepared patch for Glassfish to use the new property/feature.

          Show
          Libor Kramolis added a comment - GLASSFISH-20586 - prepared patch for Glassfish to use the new property/feature.

            People

            • Assignee:
              Libor Kramolis
              Reporter:
              Jakub Podlesak
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 days, 6 hours
                5d 6h