com.ibm.tivoli.maximo.moswos

Class MosWosToolClientHandler

  • java.lang.Object
    • com.ibm.tivoli.maximo.moswos.MosWosToolClientHandler
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Object dispatchRequest(MXSession mxSession, java.lang.String command, java.lang.Object[] params)
      Dispatch the command.
      java.lang.Object[] packageParam(java.lang.String command, java.lang.String[] args)
      Compose the parameter objects based on a set of command line parameters.
      java.lang.String processReturn(java.lang.String command, java.lang.Object retObject)
      Handle the return object of the call.
      • Methods inherited from class java.lang.Object

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

      • MosWosToolClientHandler

        public MosWosToolClientHandler()
    • Method Detail

      • dispatchRequest

        public java.lang.Object dispatchRequest(MXSession mxSession,
                                                java.lang.String command,
                                                java.lang.Object[] params)
                                         throws MXException,
                                                java.rmi.RemoteException
        Description copied from interface: ToolClientHandler
        Dispatch the command. The command is an identifier to the type of request.
        Specified by:
        dispatchRequest in interface ToolClientHandler
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • packageParam

        public java.lang.Object[] packageParam(java.lang.String command,
                                               java.lang.String[] args)
        Description copied from interface: ToolClientHandler
        Compose the parameter objects based on a set of command line parameters. The return value will be the parameter objects that understood by dispatchRequest.
        Specified by:
        packageParam in interface ToolClientHandler
        Returns:
      • processReturn

        public java.lang.String processReturn(java.lang.String command,
                                              java.lang.Object retObject)
        Description copied from interface: ToolClientHandler
        Handle the return object of the call. The returned string will be displayed if the request is made by the command line.
        Specified by:
        processReturn in interface ToolClientHandler
        Returns: