DZone Forums
Go Back   DZone Forums > Community > Languages & Frameworks > Java
Reload this Page A Conceptual Problem with OSGi
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: May 2008
Default A Conceptual Problem with OSGi - 10-30-2008, 06:23 AM

Hi, everyone!

I have come upon a conceptual problem with OSGi.

First, I'll tell what I need. I need a factory that will create some instances. Each instance has it's own configuration and all instances provide a service.

I've read about the EMailFetcher example in the Configuration Admin Specification and it turned out to be just my case. So I was happy and thought that I should use ManagedServiceFactory and all the things associated with it.

Later, however I've read the Declarative Services Specification. And that is where it began. I can't feel the difference between the ManagedServiceFactory (from Configuration Admin) and ComponentFactory (from Declarative Services).

If anyone could tell me the difference between them (for example why can't I use ComponentFactory in the EMailFetcher example), I would be very-very thankful.

Thanks in advance...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
change osgi.nl programatically joesusai Eclipse 0 12-08-2008 11:56 PM
How to use URLClassLoader in a OSGi Bundle? raja00cs Eclipse 0 11-19-2008 12:04 PM
problem with OSGi Declarative Services factory component AlexandreSH Java 2 06-05-2008 12:32 PM
conceptual trouble with OSGi AlexandreSH Java 4 05-31-2008 07:12 AM
Access OSGi servicees outside OSGi environment simongdkelly Eclipse 3 02-29-2008 09:43 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com