declarative-services
get list of services implementations with OSGi declarative services
I have a very simple example of declarative services. I\'m following this tutorial http://www.eclipsezone.com/eclipse/forums/t97690.html?start=0. Every thing is working as expected. However, I cannot[详细]
2023-04-10 21:17 分类:问答How should I declare a has-a dependency via OSGi declarative services?
My OSGi application uses a whiteboard pattern to register listeners for specific state changes. I use org.apache.felix.scr.annotations to declare my services and components instead of hand-coding the[详细]
2023-04-05 05:07 分类:问答Is there a way in OSGi to make sure only one things has access to a service at a time?
I have an interface that defines a device in a system.The d开发者_开发技巧evices are intented to be used by only one entity at a time.I would like to register each device as an OSGi service so others[详细]
2023-03-25 01:33 分类:问答Osgi Declarative service conditional binding
I have this scenario, I have three declarative services that provide the same interface (say a reader interf开发者_运维问答ace and I have readerimpl1-database- readerimpl2-flat file- readerimpl3-memor[详细]
2023-03-23 14:54 分类:问答OSGi Declarative Services - NullPointer Exception
I have a problem with my Declarative Services. I have 2 bundles, one is a server provider and another the user interface that consumes the service.[详细]
2023-03-08 22:55 分类:问答OSGi: Is it valid to register services within a declarative service component activation method?
This is a duplicate of another question, but copying from the other one: I\'ve run into an issue with Felix SCR where I get the message:[详细]
2023-02-27 05:55 分类:问答JAVA OSGi: InstantiationException with Declarative Services
I\'m new to OSGi and am building a first DS-implementation. 开发者_开发百科Everything is coded according to \"the book\" but when running I get this error:[详细]
2023-01-29 10:00 分类:问答What is the proper way of disabling an OSGi service at service start?
I have created an OSGi bundle with an exposed (declarative) service. If I, when activate is called, notice that something开发者_开发知识库 is amiss such that I can not provide the service, I need to p[详细]
2022-12-09 00:50 分类:问答