Ontimize 5.2072EN

com.ontimize.printing.server
Class PrintingService

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended byjava.rmi.server.UnicastRemoteObject
              extended bycom.ontimize.printing.server.PrintingService
All Implemented Interfaces:
java.rmi.Remote, RemotePrintService, java.io.Serializable

public class PrintingService
extends java.rmi.server.UnicastRemoteObject
implements RemotePrintService

This class implements a report request manager. This feature is similar to a printing service.

Author:
Imatia Innovation
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
PrintingService(java.lang.String prop, int port)
           
 
Method Summary
 java.lang.String getReport(java.lang.String name, java.lang.Object params, java.lang.String user, int id)
           
 java.util.Vector getReportList(java.lang.String user, int id)
           
static void main(java.lang.String[] args)
          Main method.
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrintingService

public PrintingService(java.lang.String prop,
                       int port)
                throws java.lang.Exception
Method Detail

getReport

public java.lang.String getReport(java.lang.String name,
                                  java.lang.Object params,
                                  java.lang.String user,
                                  int id)
                           throws java.lang.Exception
Specified by:
getReport in interface RemotePrintService
Throws:
java.lang.Exception

getReportList

public java.util.Vector getReportList(java.lang.String user,
                                      int id)
                               throws java.lang.Exception
Specified by:
getReportList in interface RemotePrintService
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Main method.

Parameters:
args - The arguments for launching:
  • Relative URI to the properties file
  • Port where this object is listening
  • Registry name
  • Registry port
  • Hostname
Throws:
java.lang.Exception - When an Exception occurs

Ontimize