org.apache.sling.event.impl.dea
Class DistributedEventSender
java.lang.Object
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.
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 |
DistributedEventSender
public DistributedEventSender()
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.