Package org.apache.sling.api.request
Interface SlingRequestListener
-
@ConsumerType public interface SlingRequestListener
Implementations of this service interface receive notifications about changes to Sling request of the Sling application they are part of. To receive notification events, the implementation class must be registered as an OSGi service with the service name org.apache.sling.api.request.SlingRequestListener.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onEvent(SlingRequestEvent sre)
This method is called from the Sling application for everyEventType
appearing during the dispatching of a Sling request
-
-
-
Field Detail
-
SERVICE_NAME
static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
onEvent
void onEvent(SlingRequestEvent sre)
This method is called from the Sling application for everyEventType
appearing during the dispatching of a Sling request- Parameters:
sre
- the object representing the event- See Also:
SlingRequestEvent.EventType
-
-