Interface IElementEventHandler
public interface IElementEventHandler
This interface defines the behavior for event handler. Event handlers are
transient. They are not replicated and are not written to disk.
If you want an event handler by default for all elements in a region, then you can add it to the default element attributes. This way it will get created whenever an item gets put into the cache.
-
Method Summary
Modifier and TypeMethodDescription<T> void
handleElementEvent
(IElementEvent<T> event) Handle events for this element.
-
Method Details
-
handleElementEvent
Handle events for this element. The events are typed.- Parameters:
event
- The event created by the cache.
-