|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.dynalivery.harmoni.HarmoniService
|
+--com.dynalivery.harmoni.HarmoniConfigServer
This class allows you to retrieve configuration information about the Harmoni Server configuration. The information available from this class may be usefull to users who want to write portable applications, without having to hardcode hostnames, etc.
| Constructor Summary | |
HarmoniConfigServer()
Specify a Harmoni Configuration Service without host or server name. |
|
HarmoniConfigServer(java.lang.String host)
Specify a Harmoni Configuration Service with the given host and no server name. |
|
HarmoniConfigServer(java.lang.String host,
java.lang.String name)
Specify a Harmoni Configuration Service with the given host and server name. |
|
| Method Summary | |
void |
Connect()
Connect the client to the Harmoni Configuration Server. |
void |
Disconnect()
Disconnect the client from the Harmoni Configuration Server. |
java.lang.String |
getHarmoniDORTempDir(java.lang.String serverType)
Get the temp directory on the server for DOR run-time temp files. |
java.lang.String |
getHarmoniFileServer()
Return the name of the file transfer protocol used by the file return. |
java.lang.String |
getHarmoniGatewayName()
Get the default HarmoniGateway name. |
java.lang.String |
getHarmoniHostAddress()
Get the IP Address of the host on which the Harmoni Product is installed. |
java.lang.String |
getHarmoniHostName()
Get the name of the host on which the Harmoni Product is installed. |
HarmoniInfo |
getHarmoniInfo()
Retrieve all the attribute strings in one API call. |
java.lang.String |
getHarmoniInstallDir()
Get the product installation directory, (this is the server side install directory). |
java.lang.String |
getHarmoniOutputDir()
Get the name of the directory where output may be put. |
java.lang.String |
getHarmoniSampleOutputDir()
Get the name of the directory to be used for sample output. |
java.lang.String |
getHarmoniTemplatesDir(java.lang.String serverType)
Get the name of the directory containing the sample report templates for the serverType specified. |
java.lang.String |
getHarmoniVersion()
Find the Harmoni Product version. |
java.lang.String |
getHarmoniWebServerDir()
Get the web server directory. |
java.lang.String |
getHost()
Return the host-name of the Harmoni Configuration Server. |
void |
setHost(java.lang.String address)
Set the host-name of the Harmoni Configuration Server. |
| Methods inherited from class com.dynalivery.harmoni.HarmoniService |
getServerHost,
getServerName,
getServerObject,
getServiceClient,
getServiceName,
isConnected,
setConnected,
setServerHost,
setServerName,
setServerObject,
setServiceClient,
setServiceName |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public HarmoniConfigServer()
public HarmoniConfigServer(java.lang.String host)
host - The host running the Gateway server.
public HarmoniConfigServer(java.lang.String host,
java.lang.String name)
host - The host running the Gateway server.name - The name of the Gateway server.| Method Detail |
public void Connect()
throws HarmoniClientError
public void Disconnect()
public java.lang.String getHost()
public java.lang.String getHarmoniDORTempDir(java.lang.String serverType)
throws HarmoniClientError,
HarmoniConfigServerError
serverType - for the required directory.
public java.lang.String getHarmoniFileServer()
throws HarmoniClientError,
HarmoniConfigServerError
public java.lang.String getHarmoniGatewayName()
throws HarmoniClientError,
HarmoniConfigServerError
public java.lang.String getHarmoniHostAddress()
throws HarmoniClientError,
HarmoniConfigServerError
public java.lang.String getHarmoniHostName()
throws HarmoniClientError,
HarmoniConfigServerError
public HarmoniInfo getHarmoniInfo()
throws HarmoniClientError,
HarmoniServerError,
HarmoniConfigServerError
public java.lang.String getHarmoniInstallDir()
throws HarmoniClientError,
HarmoniConfigServerError
public java.lang.String getHarmoniOutputDir()
throws HarmoniClientError,
HarmoniConfigServerError
public java.lang.String getHarmoniSampleOutputDir()
throws HarmoniClientError,
HarmoniConfigServerError
public java.lang.String getHarmoniTemplatesDir(java.lang.String serverType)
throws HarmoniClientError,
HarmoniConfigServerError
public java.lang.String getHarmoniVersion()
throws HarmoniClientError,
HarmoniConfigServerError
public java.lang.String getHarmoniWebServerDir()
throws HarmoniClientError,
HarmoniConfigServerError
public void setHost(java.lang.String address)
throws HarmoniClientError
address - The host-name to use.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||