public interface ServletSessionRuntimeMBean extends RuntimeMBean
| Modifier and Type | Method and Description |
|---|---|
String |
getMainAttribute()
Deprecated.
|
long |
getMaxInactiveInterval()
Deprecated.
|
long |
getTimeLastAccessed()
Deprecated.
|
void |
invalidate()
Deprecated.
|
addPropertyChangeListener, removePropertyChangeListenergetMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParentgetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListenervoid 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?