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

E22562-07

oracle.apps.fnd.applcore.globalSearch.ui.managed
Class SessionDiscriminator

java.lang.Object
  extended by oracle.apps.fnd.applcore.globalSearch.ui.managed.SessionDiscriminator
All Implemented Interfaces:
java.io.Serializable

public class SessionDiscriminator
extends java.lang.Object
implements java.io.Serializable

A simple class that allows detection of a change in environment that indicates Global Search must reload it's cache of information.

This change may be:

  1. a language change, which may be done by the user at any time by changing a profile option and reloading the page.
  2. A login event, in cases where an anonymous session is logged in. The applsession will be promoted from ANONYMOUS to real user and the http session will continue (hence any session beans will remain in memory). We need to reload everything as the security will be different (category list will almost certainly expand). When logging out (the reverse), both applsession and http session are thrown away, so any session beans will be lost and reconstructed.

See Also:
Serialized Form

Constructor Summary
SessionDiscriminator()
          Construct the discriminator.
 
Method Summary
 boolean equals(java.lang.Object object)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionDiscriminator

public SessionDiscriminator()
Construct the discriminator. This class will load and store discrimination variables from it's environment. Use equals() to test if the environment has changed in a way that requires a reload of cached information.

Method Detail

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

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

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.