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_SetStringField("binaryPathName", config->lpBinaryPathName);
SERVICE_SetStringField("path", config->lpBinaryPathName);
SERVICE_SetStringField("loadOrderGroup", config->lpLoadOrderGroup);

View File

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

View File

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