Author: cziegeler
Date: Tue Nov 24 09:35:52 2009
New Revision: 883636

URL: http://svn.apache.org/viewvc?rev=883636&view=rev
Log:
SLING-1199 : TimedJobHandler and DistributionEventHandler should not be delayed

Modified:
    
sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/DistributingEventHandler.java
    
sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/TimedJobHandler.java

Modified: 
sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/DistributingEventHandler.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/DistributingEventHandler.java?rev=883636&r1=883635&r2=883636&view=diff
==============================================================================
--- 
sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/DistributingEventHandler.java
 (original)
+++ 
sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/DistributingEventHandler.java
 Tue Nov 24 09:35:52 2009
@@ -37,7 +37,7 @@
 
 /**
  * This event handler distributes events across an application cluster.
- * @scr.component inherit="true" label="%dist.events.name" 
description="%dist.events.description"
+ * @scr.component label="%dist.events.name" 
description="%dist.events.description" immediate="true"
  * @scr.property name="event.topics" value="*" private="true"
  * @scr.property name="event.filter" value="(event.distribute=*)" 
private="true"
  * @scr.property name="repository.path" value="/var/eventing/distribution" 
private="true"

Modified: 
sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/TimedJobHandler.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/TimedJobHandler.java?rev=883636&r1=883635&r2=883636&view=diff
==============================================================================
--- 
sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/TimedJobHandler.java
 (original)
+++ 
sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/TimedJobHandler.java
 Tue Nov 24 09:35:52 2009
@@ -57,7 +57,7 @@
 /**
  * An event handler for timed events.
  *
- * @scr.component metatype="no"
+ * @scr.component metatype="no" immediate="true"
  * @scr.service interface="TimedEventStatusProvider"
  * @scr.property name="event.topics" valueRefs="EventUtil.TOPIC_TIMED_EVENT"
  *               values.updated="org/osgi/framework/BundleEvent/UPDATED"


Reply via email to