com.ontimize.printing.server
Class PrintingService
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.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
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
|
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 |
PrintingService
public PrintingService(java.lang.String prop,
int port)
throws java.lang.Exception
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