psdi.util

Class DefaultMXSessionFactory

  • java.lang.Object
    • psdi.util.DefaultMXSessionFactory
  • All Implemented Interfaces:
    MXSessionImplFactory


    public class DefaultMXSessionFactory
    extends java.lang.Object
    implements MXSessionImplFactory
    The default session factory used to get a default session that can be used to access MAXIMO business objects.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      MXSession getNewSession()
      Always creates a new session and returns it.
      MXSession getSession()
      Returns one and only session for the current class loader.
      • Methods inherited from class java.lang.Object

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

      • DefaultMXSessionFactory

        public DefaultMXSessionFactory()
        Constructor
    • Method Detail

      • getSession

        public MXSession getSession()
        Returns one and only session for the current class loader.
        Specified by:
        getSession in interface MXSessionImplFactory
        Returns:
        a MXSession object to be used to access MAXIMO business objects.