psdi.app.workorder.unittest

Class UnitTestHelper

  • java.lang.Object
    • psdi.app.workorder.unittest.UnitTestHelper


  • public class UnitTestHelper
    extends java.lang.Object
    This a simple utility class to start/shutdown MXServer. Be sure there is entry in the classpath linked to <Core Maximo>\applications\maximo\properties folder before calling this class
    • Constructor Summary

      Constructors 
      Constructor and Description
      UnitTestHelper() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void main(java.lang.String[] args) 
      static void shutDownMXServer() 
      static void startMXServer() 
      • Methods inherited from class java.lang.Object

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

      • UnitTestHelper

        public UnitTestHelper()
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • startMXServer

        public static void startMXServer()
                                  throws MXSystemException,
                                         java.lang.Exception,
                                         java.rmi.NoSuchObjectException,
                                         java.rmi.RemoteException
        Throws:
        MXSystemException
        java.lang.Exception
        java.rmi.NoSuchObjectException
        java.rmi.RemoteException
      • shutDownMXServer

        public static void shutDownMXServer()
                                     throws java.rmi.RemoteException,
                                            java.lang.NoSuchFieldException,
                                            java.lang.IllegalAccessException
        Throws:
        java.rmi.RemoteException
        java.lang.NoSuchFieldException
        java.lang.IllegalAccessException