glassfish
  1. glassfish
  2. GLASSFISH-18673

Use JSR 330 annotations in GlassFish Cloud

    Details

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

      Description

      GlassFish modules should move away from using non standard Classes like Habitat and use standards based annotations and classes as specified by jsr 330(javax.inject.Inject, javax.inject.Provider etc.). To quote Jerome: "Classes like Habitat exposes too many APIs available to the users that makes the hk2 evolution very difficult. " Also some of the APIs are unclear (when to use habitat.getComponent() versus habitat.getByType() /habitat.getByContract() ).

      So, the first step is to move away from Habitat (where ever possible) and use jsr 330 interface and annotations.

      In order to do this, the hk2 team will be making the following changes to the GlassFish modules as described here ...

      http://aseng-wiki.us.oracle.com/asengwiki/display/GlassFish/Internal+Status+Page+for+HK2+API+Changes

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: