hk2
  1. hk2
  2. HK2-198

If no proxies are required then javassist should be optional on the path

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0
    • Component/s: None
    • Labels:
      None

      Description

      If it is known that no proxies will be used for any hk2 services then having javassist on the classpath should be optional.

      If it turns out that proxying is used and there is no javassist then fail gracefully.

        Activity

        Hide
        jwells added a comment -

        Neither javassist nor aopalliance are now required on the minimal hk2 classpath if proxies are not used. A test has been made with these things excluded, and a nice exception message is given if hk2 discovers it wants to proxy but cannot (in both interceptor and lifecycle style proxies)

        Show
        jwells added a comment - Neither javassist nor aopalliance are now required on the minimal hk2 classpath if proxies are not used. A test has been made with these things excluded, and a nice exception message is given if hk2 discovers it wants to proxy but cannot (in both interceptor and lifecycle style proxies)

          People

          • Assignee:
            jwells
            Reporter:
            jwells
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: