rename binaryPathName to path

This commit is contained in:
Doug MacEachern 2005-06-26 02:44:44 +00:00
parent a0017f6dca
commit 7e3f7cce07
3 changed files with 9 additions and 9 deletions

View File

@ -313,7 +313,7 @@ JNIEXPORT jboolean SIGAR_JNI(win32_Service_QueryServiceConfig)
SERVICE_SetIntField("errorControl", config->dwErrorControl); SERVICE_SetIntField("errorControl", config->dwErrorControl);
SERVICE_SetStringField("binaryPathName", config->lpBinaryPathName); SERVICE_SetStringField("path", config->lpBinaryPathName);
SERVICE_SetStringField("loadOrderGroup", config->lpLoadOrderGroup); SERVICE_SetStringField("loadOrderGroup", config->lpLoadOrderGroup);

View File

@ -356,7 +356,7 @@ public class Service extends Win32 {
ServiceConfig config = service.getConfig(); ServiceConfig config = service.getConfig();
System.out.println("[" + name + "]" + System.out.println("[" + name + "]" +
"=" + "=" +
"[" + config.getBinaryPathName() + "]"); "[" + config.getPath() + "]");
String[] deps = config.getDependencies(); String[] deps = config.getDependencies();
if (deps.length != 0) { if (deps.length != 0) {
System.out.println(" deps..." + Arrays.asList(deps)); System.out.println(" deps..." + Arrays.asList(deps));

View File

@ -75,7 +75,7 @@ public class ServiceConfig {
int type; int type;
int startType; int startType;
int errorControl; int errorControl;
String binaryPathName; String path;
String loadOrderGroup; String loadOrderGroup;
int tagId; int tagId;
String[] dependencies; String[] dependencies;
@ -100,16 +100,16 @@ public class ServiceConfig {
} }
/** /**
* @return Returns the binaryPathName. * @return Returns the path.
*/ */
public String getBinaryPathName() { public String getPath() {
return binaryPathName; return path;
} }
/** /**
* @param binaryPathName The binaryPathName to set. * @param path The path to set.
*/ */
public void setBinaryPathName(String binaryPathName) { public void setPath(String binaryPathName) {
this.binaryPathName = binaryPathName; this.path = binaryPathName;
} }
/** /**
* @return Returns the dependencies. * @return Returns the dependencies.