public final class TLfnAccessEventPublisher extends Object
This class is intended to be used when you have implemented your own service
and
you want to publish events related to this service. The event publisher will execute all events on a separate thread,
which is dedicated to handling events.
Modifier and Type | Method and Description |
---|---|
void |
publishProductAccessEvent(javax.servlet.http.HttpServletRequest aRequest,
TLfnService aService,
TLfnProduct aProduct)
Publishes a product access event after the request has been processed.
|
void |
publishServiceAccessEvent(javax.servlet.http.HttpServletRequest aRequest,
TLfnService aService)
Publishes a service access event before the request has been processed.
|
public void publishServiceAccessEvent(javax.servlet.http.HttpServletRequest aRequest, TLfnService aService)
aRequest
- the HttpServletRequest
which triggered the eventaService
- the TLfnService
object for which this event is publishedpublic void publishProductAccessEvent(javax.servlet.http.HttpServletRequest aRequest, TLfnService aService, TLfnProduct aProduct)
aRequest
- the HttpServletRequest
which triggered the eventaService
- the TLfnService
service used to access the product for which this event is publishedaProduct
- the TLfnProduct
product that was accessed