Details

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

      Description

      Requirements:

      CDI004 - The specification MUST make it possible to select OSGi services used in CDI beans based on OSGi
      filters.

      liking the following:

      @Inject @ServiceFilter("(country=CN)") Service service;

        Activity

        TangYong created issue -
        TangYong made changes -
        Field Original Value New Value
        Fix Version/s not determined [ 11149 ]
        Hide
        TangYong added a comment -

        Now, the feature has been supported. Please see.

        https://github.com/tangyong/gf-cdi-osgi-integration

        DEMO: https://github.com/tangyong/gf-cdi-osgi-integration/tree/master/samples/[RFP146]CDI004

        Using Way:

        @Inject @ServiceFilter("(country=CN)") Service<StockQuoteService> sqses;
        ....

        Show
        TangYong added a comment - Now, the feature has been supported. Please see. https://github.com/tangyong/gf-cdi-osgi-integration DEMO: https://github.com/tangyong/gf-cdi-osgi-integration/tree/master/samples/[RFP146]CDI004 Using Way: @Inject @ServiceFilter("(country=CN)") Service<StockQuoteService> sqses; ....

          People

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

            Dates

            • Created:
              Updated: