com.ibm.tivoli.maximo.report.birt.session

Class WebAppSessionProvider

  • java.lang.Object
    • com.ibm.tivoli.maximo.report.birt.session.WebAppSessionProvider


  • public class WebAppSessionProvider
    extends java.lang.Object
    A utility class to create the appropriate session obejct used for accessing MAXIMO business objects. This class can only be used by the Web Application module.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static MXSession getNewWebAppSession()
      A public method to get access to the web application session.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getNewWebAppSession

        public static MXSession getNewWebAppSession()
        A public method to get access to the web application session. This method uses a web application session provider which would figure out what internal session factory to use depending on some environment settings. There should be only one call to this method per HTTP session and the result should be cached in the HTTP session for re-use.
        Returns:
        a web application session for creating web application session to access MAXIMO business objects.