/[Apache-SVN]
ViewVC logotype

Revision 984574


Jump to revision: Previous Next
Author: pderop
Date: Wed Aug 11 20:48:25 2010 UTC (13 years, 11 months ago)
Changed paths: 5
Log Message:
Bug fix: when a Service uses a publisher attribute in order to take control of when the service is registeted into the OSGi registry, 
and if the publisher's runnable is invoked BEFORE the service is started, then the service publication must be delayed until the 
service is fully activated (that is until the service's start method is invoked).

Bug fix: extra service properties returned from the @Start annotation callback were not taken into account when a publisher attribute was used. 

Also Added a new ServiceTestWthEarlyPublisher testcase.


Changed paths

Path Details
Directoryfelix/trunk/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/ServicePublisher.java modified , text changed
Directoryfelix/trunk/dependencymanager/test/src/main/java/org/apache/felix/dm/test/bundle/annotation/publisher/FactoryServiceTestWthPublisher.java modified , text changed
Directoryfelix/trunk/dependencymanager/test/src/main/java/org/apache/felix/dm/test/bundle/annotation/publisher/ServiceTestWthEarlyPublisher.java added
Directoryfelix/trunk/dependencymanager/test/src/main/java/org/apache/felix/dm/test/bundle/annotation/publisher/ServiceTestWthPublisher.java modified , text changed
Directoryfelix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/annotation/PublisherAnnotationTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26