public class DefaultSessionAttributeListener extends SimpleBasicTinyConfigAware implements TinySessionAttributeListener
basicTinyConfig
DEFAULT_PRECEDENCE, HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
DefaultSessionAttributeListener(javax.servlet.http.HttpSessionAttributeListener sessionAttributeListener) |
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) |
int |
getOrder()
Return the order value of this object, with a
higher value meaning greater in terms of sorting.
|
setBasicConfig
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setBasicConfig
public DefaultSessionAttributeListener(javax.servlet.http.HttpSessionAttributeListener sessionAttributeListener)
public void attributeAdded(javax.servlet.http.HttpSessionBindingEvent se)
attributeAdded
in interface javax.servlet.http.HttpSessionAttributeListener
public void attributeRemoved(javax.servlet.http.HttpSessionBindingEvent se)
attributeRemoved
in interface javax.servlet.http.HttpSessionAttributeListener
public void attributeReplaced(javax.servlet.http.HttpSessionBindingEvent se)
attributeReplaced
in interface javax.servlet.http.HttpSessionAttributeListener
public int getOrder()
Ordered
Normally starting with 0 or 1, with Ordered.LOWEST_PRECEDENCE
indicating greatest. Same order values will result in arbitrary
positions for the affected objects.
Higher value can be interpreted as lower priority, consequently the first object has highest priority (somewhat analogous to Servlet "load-on-startup" values).
Note that order values below 0 are reserved for framework purposes. Application-specified values should always be 0 or greater, with only framework components (internal or third-party) supposed to use lower values.
getOrder
in interface Ordered
Ordered.LOWEST_PRECEDENCE
Copyright © 2006–2018 TinyGroup. All rights reserved.