Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.management.runtime
Interface ServletSessionRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean

Deprecated. As of WebLogic 9.0, use WebAppComponentRuntimeMBean instead.

public interface ServletSessionRuntimeMBean
extends RuntimeMBean

This class is used for monitoring a WebLogic servlet session within a WebLogic server.


Method Summary
 String getMainAttribute()
          Deprecated.  
 long getMaxInactiveInterval()
          Deprecated.  
 long getTimeLastAccessed()
          Deprecated.  
 void invalidate()
          Deprecated.  
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

invalidate

void invalidate()
Deprecated. 

Invalidates this session.


getTimeLastAccessed

long getTimeLastAccessed()
Deprecated. 

Provides a record of the last time this session was accessed.

Returns:
The timeLastAccessed value

getMaxInactiveInterval

long getMaxInactiveInterval()
Deprecated. 

Returns the timeout (seconds) for the session

Returns:
session's maxInactiveInterval

getMainAttribute

String getMainAttribute()
Deprecated. 

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?

Returns:
The mainAttribute value

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02