Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.common.security
Class SessionContext

java.lang.Object
  extended by oracle.apps.fnd.applcore.common.security.SessionContext

public class SessionContext
extends java.lang.Object


Constructor Summary
SessionContext()
           
 
Method Summary
static LwsSessionContext createLwsSessionContext()
          Call this to instantiate an instance of LwsSessionContext, which will be used to manage sessions.
static LwsSessionContext createLwsSessionContext(java.lang.String sessionID)
          Call this to instantiate an instance of LwsSessionContext, which will be used to manage sessions.
static LwsSessionContext getLwsSessionContext()
          Call this to fetch the current LwsSessionContext.
static void removeLwsSessionContext()
          Call this to remove the current LwsSessionContext.
static void removeLwsSessionContextOnADFContext()
           
static void setLwsSessionContext(LwsSessionContext lwsSessionContext)
          Call this to set the current LwsSessionContext.
static void setLwsSessionContextOnADFContext(LwsSessionContext lwsSessionContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionContext

public SessionContext()
Method Detail

createLwsSessionContext

public static LwsSessionContext createLwsSessionContext(java.lang.String sessionID)
Call this to instantiate an instance of LwsSessionContext, which will be used to manage sessions. Pass in the session ID if it has already been created and we are planning to reattach to this LwsSessionContext instance. This will not set the newly created LwsSessionContext on the SessionContext, if you need it to be available you should call getLwsSessionContext call immediately afterwards.

Parameters:
sessionID -
Returns:

createLwsSessionContext

public static LwsSessionContext createLwsSessionContext()
Call this to instantiate an instance of LwsSessionContext, which will be used to manage sessions. This instance will be used to create a new attached session. This will also set the newly created LwsSessionContext so that it is available via the getLwsSessionContext call.

Returns:

getLwsSessionContext

public static LwsSessionContext getLwsSessionContext()
Call this to fetch the current LwsSessionContext.

Returns:

setLwsSessionContext

public static void setLwsSessionContext(LwsSessionContext lwsSessionContext)
Call this to set the current LwsSessionContext.


setLwsSessionContextOnADFContext

public static void setLwsSessionContextOnADFContext(LwsSessionContext lwsSessionContext)

removeLwsSessionContext

public static void removeLwsSessionContext()
Call this to remove the current LwsSessionContext.


removeLwsSessionContextOnADFContext

public static void removeLwsSessionContextOnADFContext()

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.