Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4646

@Context(Context.Source.INSTANCE) does not inject bundle context

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • ipojo-runtime-1.12.0
    • ipojo-runtime-1.12.1
    • iPOJO
    • None
    • JAVA 1.8

    Description

      I would like to use the bundle context for each instanciate of my bundle with this code :

      @Context(Context.Source.INSTANCE)
      private BundleContext _context;

      But the context return is null.

      If I use Context.Source.COMPONENT for the context definition, the context field is injected.

      Attachments

        Issue Links

          Activity

            People

              clement.escoffier Clement Escoffier
              Pierrick Tact Pierrick
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: