|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.mrc.hgmp.embreo.EmbreoParams
Field Summary | |
static int |
PROTOCOL_CORBA
For requests using CORBA |
static int |
PROTOCOL_JINI
For requests using Jini |
static int |
PROTOCOL_JXTA
For requests using Jxta |
static int |
PROTOCOL_RMI
For requests using Java RMI |
static int |
PROTOCOL_RMI_IIOP
For requests using RMI over IIOP |
static int |
PROTOCOL_SOAP
For SOAP requests via http |
static int |
SERVER_DOWN
Denotes a server is not responding |
static int |
SERVER_ERR
Denotes a server is giving errors |
static int |
SERVER_OK
Denotes a server is OK |
Constructor Summary | |
EmbreoParams(java.lang.String embreoAppName)
A constructor taking the name of this particular application as an argument. |
Method Summary | |
void |
editFrame()
Generates a frame that allows the user to modify selected parameters from the GUI |
java.lang.String |
getAppName()
The application name we were called by |
java.lang.String |
getCurrentMode()
The current mode. |
boolean |
getDebug()
Whether to show debugging information |
boolean |
getHasAnnotation()
Whether this service supports annotation |
boolean |
getHasBatchMode()
Whether this service supports batch mode |
boolean |
getHasInteractiveMode()
Whether this service supports interactive mode |
boolean |
getHasLocalLaunch()
Whether this service supports local (native) application launch |
boolean |
getPrivateServerFailover()
Return whether we have failover on the private server |
java.util.Vector |
getPrivateServers()
Return a vector containing the list of private servers |
java.lang.String |
getPrivateSoapService()
Get the name of the private soap service we're using |
java.lang.String |
getPrivateSoapURL()
Returns the URL of the private soap server |
java.lang.String |
getProxyAuthPasswd()
The password needed to use for the proxy server |
java.lang.String |
getProxyAuthUser()
The username needed to use for the proxy server |
java.lang.String |
getProxyHost()
The name of the proxy server |
int |
getProxyPortNum()
The port the proxy server listens on |
boolean |
getPublicServerFailover()
Return whether we have failover on the public server |
java.util.Vector |
getPublicServers()
Return a vector containing the list of public servers |
java.lang.String |
getPublicSoapService()
Get the name of the public soap service we're using |
java.lang.String |
getPublicSoapURL()
Returns the URL of the public soap server |
boolean |
getSavedResults()
Whether this service supports saved results |
java.lang.String |
getServicePasswd()
Return the password needed for the remote service |
java.lang.String |
getServiceUserName()
Return the username needed for the remote service |
java.lang.String |
getSoapService()
Get the name of the soap service we're using |
boolean |
getUseAuth()
Whether the main service requires authentication |
boolean |
getUseProxy()
Whether it is necessary to use a proxy server |
boolean |
getUseProxy(java.lang.String s)
Whether it is necessary to use a proxy server for a given URL |
boolean |
getUseProxyAuth()
Whether we have to authenticate with the proxy to use it |
boolean |
getUseVNC()
Whether this service uses VNC for X display |
boolean |
getUseX11()
Whether this service requires X for display |
java.lang.String |
getX11display()
Get the X display name |
java.util.Vector |
modeVector()
Return the mode list as a vector, suitable for loading into a combobox. |
java.lang.String |
proxyDescription()
A description of the proxy settings |
java.lang.String |
serverDescription()
A description of the server settings |
void |
setCurrentMode(java.lang.String newMode)
Set the current mode. |
void |
setPrivateSoapService(java.lang.String s)
Set the name of the private soap service we're using |
void |
setPrivateSoapURL(java.lang.String s)
Set the URL of the private soap server |
void |
setPublicSoapService(java.lang.String s)
Set the name of the public soap service we're using |
void |
setPublicSoapURL(java.lang.String s)
Set the URL of the public soap server |
void |
setServerStatus(java.lang.String server,
int i)
Mark a server as bad |
void |
setServicePasswd(java.lang.String newPasswd)
Save the password needed for the remote service |
void |
setServiceUserName(java.lang.String newUserName)
Save the username needed for the remote service |
protected void |
setupServerRedundancy()
Initialize the server redundancy data. |
void |
setX11display(java.lang.String newX11display)
Remember the X display name |
void |
updateEmbreoProperty(java.lang.String name,
java.lang.String newvalue)
Update the properties structure This doesn't update the actual properties, just the Properties object so you must call updateSettingsFromProperties yoursefl |
void |
updateEmbreoPropHash(java.util.Hashtable hash)
Update properties from a Hashtable |
void |
updateEmbreoPropString(java.lang.String entry)
Parse a key=value string to update the properties structure |
void |
updateEmbreoPropStrings(java.lang.String[] entries)
Parse an array of key=value strings to update the properties structure |
protected void |
updateSettingsFromProperties()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int PROTOCOL_SOAP
public static final int PROTOCOL_CORBA
public static final int PROTOCOL_RMI
public static final int PROTOCOL_RMI_IIOP
public static final int PROTOCOL_JINI
public static final int PROTOCOL_JXTA
public static final int SERVER_OK
public static final int SERVER_ERR
public static final int SERVER_DOWN
Constructor Detail |
public EmbreoParams(java.lang.String embreoAppName)
embreoAppname
- The name of the current applicationMethod Detail |
protected void updateSettingsFromProperties()
protected void setupServerRedundancy()
public java.lang.String getAppName()
public boolean getUseProxy()
public boolean getUseProxy(java.lang.String s)
s
- The URL we wish to connect topublic java.lang.String getProxyHost()
public int getProxyPortNum()
public boolean getUseProxyAuth()
public java.lang.String getProxyAuthUser()
public java.lang.String getProxyAuthPasswd()
public java.lang.String proxyDescription()
public boolean getUseAuth()
public java.lang.String getPublicSoapURL()
public void setPublicSoapURL(java.lang.String s)
public java.lang.String getPrivateSoapURL()
public void setPrivateSoapURL(java.lang.String s)
public boolean getPublicServerFailover()
public boolean getPrivateServerFailover()
public java.util.Vector getPublicServers()
public java.util.Vector getPrivateServers()
public void setServerStatus(java.lang.String server, int i)
public java.lang.String getServiceUserName()
public void setServiceUserName(java.lang.String newUserName)
newUserName
- The usernamepublic java.lang.String getServicePasswd()
public void setServicePasswd(java.lang.String newPasswd)
newPasswd
- The usernamepublic java.lang.String getSoapService()
public java.lang.String getPrivateSoapService()
public void setPrivateSoapService(java.lang.String s)
s
- The name of the servicepublic java.lang.String getPublicSoapService()
public void setPublicSoapService(java.lang.String s)
s
- The name of the servicepublic java.lang.String serverDescription()
public boolean getUseX11()
public java.lang.String getX11display()
public void setX11display(java.lang.String newX11display)
newX11display
- The name of the new X displaypublic boolean getUseVNC()
public boolean getDebug()
public boolean getSavedResults()
public boolean getHasBatchMode()
public boolean getHasInteractiveMode()
public java.lang.String getCurrentMode()
public void setCurrentMode(java.lang.String newMode)
newMode
- The new execution modepublic java.util.Vector modeVector()
public void updateEmbreoProperty(java.lang.String name, java.lang.String newvalue)
name
- A String naming the property to be updatednewvalue
- A String containing the new value of the propertypublic void updateEmbreoPropString(java.lang.String entry)
entry
- String containing a key=value messagepublic void updateEmbreoPropStrings(java.lang.String[] entries)
entries
- Array of Strings containing key=value messagespublic void updateEmbreoPropHash(java.util.Hashtable hash)
hash
- Hashtable containg propertiespublic boolean getHasAnnotation()
public boolean getHasLocalLaunch()
public void editFrame()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |