Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
ipojo-runtime-1.12.1
-
None
-
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.