|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.core.NativeWindowsCalls
NativeWindowsCalls - This class provides static helper methods which need access native code in Windows
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
NativeWindowsCalls()
|
Method Summary | |
---|---|
protected static int |
evfDeregisterServer(String alias)
evfDeregisterServer Deregister a CODE server. |
protected static int |
evfRegisterServer(String alias,
String hostname,
String userId,
String pwd,
String curlib,
String[] libl)
evfRegisterServer Register a temporary server to CODE. |
static String |
getEnvironmentVariable(String key)
Retrieve a Windows environment variable |
static String |
getWDTInstallDirectory()
Retrieve the path where WDT is installed. |
static String |
getWindowsDirectory()
Retrieve the path of the Windows directory. |
static boolean |
isAdminOrPowerUser()
Check if the current user profile is a member of the local Administrators or Power Users groups |
static boolean |
isCODEInstalled()
Check if the CODE toolset is installed on the system. |
static boolean |
runLocalCommand(String cmd)
|
protected static void |
unloadEvfconsDLL()
unloadDEvfconsDLL This method must be called before the Workbench closes to release evfcons.dll which is loaded at runtime by rsentv.dll |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String copyright
Constructor Detail |
public NativeWindowsCalls()
Method Detail |
public static boolean runLocalCommand(String cmd)
protected static int evfRegisterServer(String alias, String hostname, String userId, String pwd, String curlib, String[] libl)
alias
- 8 Character alias name (CODE server name)hostname
- The actual IP name or address to associate with the alias nameuserId
- The user ID to connect withpwd
- The password to connect withcurlib
- The curlib to set -- CURRENTLY IGNORED
protected static int evfDeregisterServer(String alias)
alias
- 8 Character alias name (CODE server name)
protected static void unloadEvfconsDLL()
public static String getWindowsDirectory()
public static String getWDTInstallDirectory()
public static String getEnvironmentVariable(String key)
key
- The key for the environment variable to be retrieved.
i.e. path, ProgramFiles or Temp
public static boolean isCODEInstalled()
public static boolean isAdminOrPowerUser()
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |