glassfish
  1. glassfish
  2. GLASSFISH-19395 Mapping HK2 annotations(@Service and @Inject) into OBR capability and requirement
  3. GLASSFISH-20486

missing a mapping scene where some classes will be advertised as itself and by any interfaces that are marked with @Contract

    Details

    • Type: Sub-task Sub-task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: OSGi
    • Labels:
      None

      Description

      currently, org.glassfish.main.glassfish-obr-builder experimental module missed a mapping scene where some classes will be advertised as itself and by any interfaces that are marked with @Contract.

      Eg.

      @Contract
      public interface Foo {
      }

      @Service
      public class FooImpl implements Foo {
      }

      The FooImpl class will be placed into the registry advertised under both FooImpl and Foo.

      Also needing to consider interface apart from class itself.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated: