public interface ServletSessionRuntimeMBean extends RuntimeMBean
Modifier and Type | Method and Description |
---|---|
String |
getMainAttribute()
Deprecated.
|
long |
getMaxInactiveInterval()
Deprecated.
|
long |
getTimeLastAccessed()
Deprecated.
|
void |
invalidate()
Deprecated.
|
addPropertyChangeListener, removePropertyChangeListener
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
void invalidate()
Invalidates this session.
long getTimeLastAccessed()
Provides a record of the last time this session was accessed.
long getMaxInactiveInterval()
Returns the timeout (seconds) for the session
String getMainAttribute()
Provides a copy (as a string) of an attribute specified by the user, such as user-name, associated with this session.
Gets a Stringified copy of an attribute specified by the user (like user-name) associated with this session. Where should this attribute be specified? In ServletDeploymentRuntimeMBean?