In my current application, I want to create and configure OSGI services at runtime through the user interface. I have seen in the OSGi Metatype specification but it only supports simple type attributes.
So my questions are: Is there any good reason that there is no support for other types of services such as attribute types and anyone already knows about an existing project that does something like this ?
UPDATE
To further clarify my question:
What do I need to do is get the new services required by the user of the software Creating and Configuring
Public Interface Notification Service {Zero Notification (Notification n); } Another example for sending notifications for Twitter Through the Metatype specification, I can change information in sign language, which requires the Twitter service username and password. This allows me to create a UI dynamically on the runtime to create new Twitter information services.
It works with simple datatype, but the Metapart device does not handle dependencies for other services like say that there is a notification file attachment and therefore the Twitter service A FileUpload service is required to store files. You can always inject new services using the bundle contact # register service (), Although at the time the service needs to be started and started to run you can find OSGi 4.2 specification - or even new blue print service of dynamic services, which are old but more comprehensive.
Finally, it depends on what you have to do. When you call "create" and "configured" Osami services as runtime, what are you saying?
Comments
Post a Comment