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

Error in iPOJO documentation's code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • ipojo-runtime-1.12.1
    • None
    • iPOJO
    • None
    • Gradle (com.athaydes.gradle.osgi), Kotlin

    Description

      I tried to create my own Service Tracking Interceptor using guidelines at page http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/ipojo-advanced-topics/service-binding-interceptors.html.
      Unfortunately, the examples in "Service Tracking Interceptors" didn't work (the interceptior was not invoked). After a lot of iPOJO internals debugging I guessed to add @Instantiate annotation to my interceptor and it helped.

      For an iPOJO newcomer a non-working code in documentation means waste of a lot of time. However, may be I don't know something I must have read before this article, would you be so kind as to help me in getting this knowledge.

      Attachments

        Activity

          People

            Unassigned Unassigned
            plinyar Roman Koreshkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: