public class SessionExpirationCacheListener extends CacheListenerAdapter<java.lang.String,javax.servlet.http.HttpSession> implements Declarable
Constructor and Description |
---|
SessionExpirationCacheListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterDestroy(EntryEvent<java.lang.String,javax.servlet.http.HttpSession> event)
Handles the event of an entry being destroyed.
|
boolean |
equals(java.lang.Object obj) |
void |
init(java.util.Properties p)
Initializes a user-defined object using the given properties.
|
afterCreate, afterInvalidate, afterRegionClear, afterRegionCreate, afterRegionDestroy, afterRegionInvalidate, afterRegionLive, afterUpdate, close
public void afterDestroy(EntryEvent<java.lang.String,javax.servlet.http.HttpSession> event)
CacheListener
afterDestroy
in interface CacheListener<java.lang.String,javax.servlet.http.HttpSession>
afterDestroy
in class CacheListenerAdapter<java.lang.String,javax.servlet.http.HttpSession>
event
- the EntryEventRegion.destroy(Object)
public void init(java.util.Properties p)
Declarable
Cache
initialization to fail.init
in interface Declarable
p
- Contains the parameters declared in the declarative xml
file.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object