Oracle Fusion Middleware
Oracle WebLogic Server 10.3.1 MBean API Reference
11g Release 1 (10.3.1)

Part Number E13945-02

weblogic.management.runtime
Interface ServletSessionRuntimeMBean


Deprecated. As of WebLogic 9.0, use WebAppComponentRuntimeMBean instead.

public interface ServletSessionRuntimeMBean

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

Deprecation of MBeanHome and Type-Safe Interfaces

This is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX" on http://www.oracle.com/technology/products/weblogic/index.html.


Method Summary
 String getMainAttribute()
          Deprecated.  
 long getMaxInactiveInterval()
          Deprecated.  
 long getTimeLastAccessed()
          Deprecated.  
 void invalidate()
          Deprecated.  
 

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

Documentation is available at
http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm
Copyright 1996, 2009, 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
Oracle WebLogic Server 10.3.1 MBean API Reference
11g Release 1 (10.3.1)

Part Number E13945-02