org.apache.sling.event.impl.dea
Class DistributedEventSender

java.lang.Object
  extended by org.apache.sling.event.impl.dea.DistributedEventSender
All Implemented Interfaces:
org.osgi.service.event.EventHandler

@Service(value=org.osgi.service.event.EventHandler.class)
@Property(name="event.topics",
          value="org/apache/sling/api/resource/Resource/ADDED")
public class DistributedEventSender
extends Object
implements org.osgi.service.event.EventHandler

This event handler distributes events across an application cluster. We schedule this event handler to run in the background and clean up obsolete events.


Constructor Summary
DistributedEventSender()
           
 
Method Summary
protected  void activate()
           
protected  void deactivate()
          Deactivate this component.
 void handleEvent(org.osgi.service.event.Event event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributedEventSender

public DistributedEventSender()
Method Detail

activate

@Activate
protected void activate()

deactivate

protected void deactivate()
Deactivate this component.


handleEvent

public void handleEvent(org.osgi.service.event.Event event)
Specified by:
handleEvent in interface org.osgi.service.event.EventHandler
See Also:
EventHandler.handleEvent(org.osgi.service.event.Event)


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.