@Service(value=org.osgi.service.event.EventHandler.class) @Property(name="event.topics", value="org/apache/sling/event/timed") public class TimedEventReceiver extends Object implements org.osgi.service.event.EventHandler
Modifier and Type | Field and Description |
---|---|
static String |
RESOURCE_PROPERTY_TE_DATE |
static String |
RESOURCE_PROPERTY_TE_EXPRESSION |
static String |
RESOURCE_PROPERTY_TE_PERIOD |
static String |
TIMED_EVENT_RESOURCE_TYPE |
Constructor and Description |
---|
TimedEventReceiver() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate()
Activate this component.
|
protected void |
deactivate()
Deactivate this component.
|
void |
handleEvent(org.osgi.service.event.Event event) |
public static final String RESOURCE_PROPERTY_TE_EXPRESSION
public static final String RESOURCE_PROPERTY_TE_DATE
public static final String RESOURCE_PROPERTY_TE_PERIOD
public static final String TIMED_EVENT_RESOURCE_TYPE
@Activate protected void activate()
@Deactivate protected void deactivate()
public void handleEvent(org.osgi.service.event.Event event)
handleEvent
in interface org.osgi.service.event.EventHandler
EventHandler.handleEvent(org.osgi.service.event.Event)
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.