Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Declarative service - provide and reference with same class
Declarative service - provide and reference with same class [message #645997] Tue, 21 December 2010 14:21 Go to next message
Sebastian Neumann is currently offline Sebastian NeumannFriend
Messages: 9
Registered: December 2010
Junior Member
Hi,

I have a class that references a data service. It is also supposed to provide a service itself. When I define both then my reference binding does not work. Is it possible to provide and reference using DS at all?

Regards,
Sebastian
Re: Declarative service - provide and reference with same class [message #646102 is a reply to message #645997] Wed, 22 December 2010 04:42 Go to previous message
Sebastian Neumann is currently offline Sebastian NeumannFriend
Messages: 9
Registered: December 2010
Junior Member
Problem solved: I was not aware that a component that does not provide any service by definition is immediately active, whereas a component providing a service is lazily created by default; thus the binding obviously only happens on instanciation...when I set the immediate activation to true I get the expected behaviour...
Previous Topic:P2 Update feature
Next Topic:Dropins configuration
Goto Forum:
  


Current Time: Sat Apr 20 03:23:01 GMT 2024

Powered by FUDForum. Page generated in 0.02991 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top