|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.server.api.rmi.RemoteReportServerToolkit
public final class RemoteReportServerToolkit
This class provide methods to user to get remote wrapped JReport server or do other operations on
remote wrapped JReport server. For example, if you want to get a remote wrapped JReport server, which
connected to a running JReport server reside in host 192.168.128.14, use rmi port 1129, you can invoke
method getRemoteRptServer() like
    RptServer rptServer = getRemoteRptServer("192.168.128.14", "1129");
    ...
| Constructor Summary | |
|---|---|
RemoteReportServerToolkit()
|
|
| Method Summary | |
|---|---|
static boolean |
destroyRemoteFileService(java.lang.String host,
java.lang.String port)
Destroy an instance of RemoteFileService by that running JReport server's host and rmi port |
static RemoteFileService |
getRemoteFileService(java.lang.String host,
java.lang.String port)
Get RemoteFileService instance by that running JReport server's host and rmi port |
static RemoteRptServer |
getRemoteRptServer(java.lang.String host,
java.lang.String port)
Get remote interface attached on a JReport server by that running JReport server's host and rmi port |
static int |
getRemoteServerStatus(java.lang.String host,
java.lang.String port)
|
static HttpRptServer |
getRemoteWrappedAdminServer(java.lang.String host,
java.lang.String port)
Get remote wrapped JReport server connected to an admin server in a JReport cluster, if there is a existing remote wrapped server, which connects to an admin server of a cluster, this method will return this existing remote wrapped server, even though this existing server can not be spcefied by parameter "host" and "port". |
static HttpRptServer |
getRemoteWrappedAdminServer(java.lang.String host,
java.lang.String port,
java.lang.String logPath)
Get remote wrapped JReport server connected to an admin server in a JReport cluster, if there is a existing remote wrapped server, which connects to an admin server of a cluster, this method will return this existing remote wrapped server, even though this existing server can not be spcefied by parameter "host" and "port". |
static HttpRptServer |
getRemoteWrappedRptServer(java.lang.String host,
java.lang.String port)
Get remote wrapped JReport server by a running JReport server's host and rmi port, use system property "user.dir" as log dir. |
static HttpRptServer |
getRemoteWrappedRptServer(java.lang.String host,
java.lang.String port,
java.lang.String logPath)
Get remote wrapped JReport server by a running JReport server's host and rmi port, |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteReportServerToolkit()
| Method Detail |
|---|
public static HttpRptServer getRemoteWrappedRptServer(java.lang.String host,
java.lang.String port)
host - host of a running JReport server which want to connectport - rmi port of a running JReport server which want to connect
public static HttpRptServer getRemoteWrappedRptServer(java.lang.String host,
java.lang.String port,
java.lang.String logPath)
host - host of a running JReport server which want to connectport - rmi port of a running JReport server which want to connectlogPath - specify the directory that error log of remote wrapped report server save to, log file
name is "error.log".
public static RemoteRptServer getRemoteRptServer(java.lang.String host,
java.lang.String port)
host - host of a running JReport server which want to connectport - rmi port of a running JReport server which want to connect
public static HttpRptServer getRemoteWrappedAdminServer(java.lang.String host,
java.lang.String port)
host - host of a running JReport server which want to connectport - rmi port of a running JReport server xhich want to connect
public static HttpRptServer getRemoteWrappedAdminServer(java.lang.String host,
java.lang.String port,
java.lang.String logPath)
host - host of a running JReport server which want to connectport - rmi port of a running JReport server which want to connectlogPath - specify the directory that error log of remote wrapped report server save to, log file
name is "error.log".
public static RemoteFileService getRemoteFileService(java.lang.String host,
java.lang.String port)
host - host of a running JReport server which want to connectport - rmi port of a running JReport server which want to connect
public static boolean destroyRemoteFileService(java.lang.String host,
java.lang.String port)
host - host of a running JReport server which want to connectport - rmi port of a running JReport server which want to connect
public static int getRemoteServerStatus(java.lang.String host,
java.lang.String port)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||