|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.jsdt.support.installedproduct.InstalledProduct
com.ibm.jsdt.support.installedproduct.IDSInstalledProduct
public class IDSInstalledProduct
Handles pre-installation and post-installation activities for the Informix Dynamic Server (IDS).
Field Summary | |
---|---|
static java.lang.String |
GROUP_ID
Deprecated. |
static int |
SERVER_MODE_ONLINE
Deprecated. |
static java.lang.String |
SERVERNUMBER
Deprecated. |
static java.lang.String |
USER_ID
Deprecated. |
Constructor Summary | |
---|---|
protected |
IDSInstalledProduct(java.lang.String version,
java.lang.String location)
Deprecated. Constructs a new IDSInstalledProduct containing the version and the location of the installed product. |
Method Summary | |
---|---|
protected static java.lang.String |
determineIDSServerName(java.lang.String idsInstallLocation,
SupportBase base)
Deprecated. Gets IDS server name installed in a specified location. |
protected static java.lang.String |
executeIDSCommand(java.lang.String commandToExecute,
java.lang.String idsInstallLocation,
java.lang.String idsServerName,
SupportBase base)
Deprecated. Exectute Informix Dynamic Server (IDS) command or utility. |
static IDSInstalledProduct |
getInstalledProduct(java.lang.String location)
Deprecated. Given a target location, handles the logic of finding an installed version of IDS. |
static IDSInstalledProduct |
getInstalledProduct(SupportBase callerBase,
java.lang.String location)
Deprecated. Determines whether IDS is installed. |
static IDSInstalledProduct[] |
getInstalledProducts()
Deprecated. Determines all instances of IDS installed on the target computer. |
static IDSInstalledProduct[] |
getInstalledProducts(SupportBase callerBase)
Deprecated. Determines all instances of IDS installed on the target computer. |
java.lang.String |
getPortNumber(java.lang.String serverName)
Deprecated. Get IDS port number associated with particular server instance Port numbers are stored in a services file on Windows. |
java.lang.String[] |
getServerNames()
Deprecated. Gets the name of server instances in a particular INFORMIXDIR. |
java.lang.String |
getServerNumber(java.lang.String serverName)
Deprecated. Get the server number associated with the provided server name. |
java.lang.String |
getServiceName(java.lang.String serverName)
Deprecated. Get IDS Service name on Windows. |
java.lang.String |
getUniqueServerNumber()
Deprecated. Get unique server number which is not in use by any IDS instance on a target system. |
boolean |
isServerNameUnique(java.lang.String serverName)
Deprecated. This method checks whether the given server name is unique across the system. |
int |
startServer()
Deprecated. Start the Informix Dynamic Server (IDS) demo server. |
int |
startServer(boolean initialize)
Deprecated. Start/Initialize the Informix Dynamic Server (IDS)demo server. |
int |
stopServer()
Deprecated. Stop the demo server Curreently the method is created for Linux only. |
int |
verifyIDSInstallation(java.lang.String serverName)
Deprecated. Runs an install verification test provided by IDS using provided server instance. |
Methods inherited from class com.ibm.jsdt.support.installedproduct.InstalledProduct |
---|
compareVersion, getActualSupportBase, getInstalledLocation, getInstalledProduct, getInstalledProducts, getInstalledVersion, getSupportBase, grepRPM, setInstalledLocation, setInstalledVersion, setSupportBase, trimVersionToNVersionPlaces |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String USER_ID
public static final int SERVER_MODE_ONLINE
public static final java.lang.String GROUP_ID
public static final java.lang.String SERVERNUMBER
Constructor Detail |
---|
protected IDSInstalledProduct(java.lang.String version, java.lang.String location)
version
- The version of the installed product.location
- The location of the installed product.Method Detail |
---|
public static IDSInstalledProduct getInstalledProduct(java.lang.String location)
The
- location of the installed product.
public static IDSInstalledProduct getInstalledProduct(SupportBase callerBase, java.lang.String location)
callerBase
- SupportBase object to use.location
- The location of the installed product.
public static IDSInstalledProduct[] getInstalledProducts()
public static IDSInstalledProduct[] getInstalledProducts(SupportBase callerBase)
callerBase
- SupportBase object to use.
public java.lang.String[] getServerNames()
public boolean isServerNameUnique(java.lang.String serverName)
serverName
-
public int stopServer()
protected static java.lang.String executeIDSCommand(java.lang.String commandToExecute, java.lang.String idsInstallLocation, java.lang.String idsServerName, SupportBase base)
commandToExecute
- IDS utility to run along with required options, such as "onstat -V"idsInstallLocation
- The IDS installation location.idsServerName
- The IDS server name.base
- SupportBase object to use.
protected static java.lang.String determineIDSServerName(java.lang.String idsInstallLocation, SupportBase base)
idsInstallLocation
- IDS installation locationbase
- SupportBase object to use.
public java.lang.String getUniqueServerNumber()
public java.lang.String getServiceName(java.lang.String serverName)
Server
- name e.g. ol_server
public java.lang.String getPortNumber(java.lang.String serverName)
Server
- name e.g. ol_server
public int verifyIDSInstallation(java.lang.String serverName)
server
- name at particular install location
public java.lang.String getServerNumber(java.lang.String serverName)
server
- name
public int startServer()
public int startServer(boolean initialize)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |