public class NonSerializableSessionListener extends Object implements javax.servlet.http.HttpSessionAttributeListener
| Constructor and Description |
|---|
NonSerializableSessionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
attributeAdded(javax.servlet.http.HttpSessionBindingEvent se) |
void |
attributeRemoved(javax.servlet.http.HttpSessionBindingEvent se) |
void |
attributeReplaced(javax.servlet.http.HttpSessionBindingEvent se) |
protected void |
checkSerialization(javax.servlet.http.HttpSessionBindingEvent se,
String action)
Tests whether the attribute value is serializable and logs an error if it isn't.
|
public NonSerializableSessionListener()
public void attributeAdded(javax.servlet.http.HttpSessionBindingEvent se)
attributeAdded in interface javax.servlet.http.HttpSessionAttributeListenerpublic void attributeRemoved(javax.servlet.http.HttpSessionBindingEvent se)
attributeRemoved in interface javax.servlet.http.HttpSessionAttributeListenerpublic void attributeReplaced(javax.servlet.http.HttpSessionBindingEvent se)
attributeReplaced in interface javax.servlet.http.HttpSessionAttributeListenerprotected void checkSerialization(javax.servlet.http.HttpSessionBindingEvent se, String action)
se - the session binding eventaction - the listener event for logging purposes (added or replaced)Copyright © 2005–2016 The Kuali Foundation. All rights reserved.