| /glassfish-3.1.2/tests/embedded/cdi_ejb_jpa/src/main/java/org/glassfish/tests/embedded/cdi_ejb_jpa/ |
| H A D | TestBean.java | 60 public Person getPerson(Long pid) { argument 61 return em.find(Person.class, pid); 64 public void removePerson(Long pid) { argument 65 Person p = getPerson(pid);
|
| /glassfish-3.1.2/tests/embedded/glassfish_resources_xml/src/main/java/org/glassfish/tests/embedded/cdi_ejb_jpa/ |
| H A D | TestBean.java | 60 public Person getPerson(Long pid) { argument 61 return em.find(Person.class, pid); 64 public void removePerson(Long pid) { argument 65 Person p = getPerson(pid);
|
| /glassfish-3.1.2/flashlight/framework/src/main/java/org/glassfish/flashlight/impl/client/ |
| H A D | AgentAttacher.java | 76 public synchronized static boolean attachAgent(int pid, String options) { argument 81 return AgentAttacherInternal.attachAgent(pid, options);
|
| H A D | AgentAttacherInternal.java | 63 static boolean attachAgent(int pid, String options) { argument 68 if(pid < 0) 69 pid = ProcessUtils.getPid(); 71 if (pid < 0) { 72 logger.warning(Strings.get("invalid.pid")); 76 VirtualMachine vm = VirtualMachine.attach(String.valueOf(pid));
|
| /glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/jmac/config/ |
| H A D | HttpServletHelper.java | 91 String pid = (sunWebApp != null ? sunWebApp.getAttributeValue 95 if (isSystemApp && (pid == null || pid.length() == 0)) { 96 pid = defaultSystemProviderID; 97 if (pid == null || pid.length() == 0) { 102 if (((pid != null && pid.length() > 0) || nullConfigProvider) &&
|
| /glassfish-3.1.2/common/common-util/src/test/java/com/sun/enterprise/universal/process/ |
| H A D | JpsTest.java | 78 int pid = Jps.getPid("ASMain");
|
| /glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/ |
| H A D | StartServerHelper.java | 113 logger.finer("Check for pid file: " + pidFile); 244 * THe dying server called us with the system property AS_RESTART set to its pid 256 int pid = -1; 259 pid = Integer.parseInt(pids); 262 pid = -1; 264 waitForParentDeath(pid); 304 // use the pid we received from the parent server and platform specific tools 307 private void waitForParentDeath(int pid) throws CommandException { argument 308 if (pid < 0) { 317 Boolean b = ProcessUtils.isProcessRunning(pid); [all...] |
| /glassfish-3.1.2/cluster/common/src/main/java/com/sun/enterprise/util/cluster/ |
| H A D | InstanceInfo.java | 107 + ", pid: " + pid; 139 if (pid < 0) { 142 return pid; 192 pid = -1; 202 pid = Integer.parseInt(pidstr); 206 pid = -1; 223 pid = -1; 258 int pid = info.getPid(); 260 return pid < 307 private int pid; field in class:InstanceInfo [all...] |
| /glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/process/ |
| H A D | ProcessUtils.java | 51 * Includes a somewhat kludgy way to get the pid for "me". 53 * Some obscure OS might not have a pid! 87 return pid; 92 * @param pid 96 public static String kill(int pid) { argument 98 String pidString = Integer.toString(pid); 103 pm = new ProcessManager("taskkill", "/F", "/T", "/pid", pidString); 104 cmdline = "taskkill /F /T /pid " + pidString; 147 private static final int pid; field in class:ProcessUtils 152 ProcessManager pm = new ProcessManager("tasklist", "/FI", "\"pid e [all...] |
| /glassfish-3.1.2/flashlight/framework/src/main/java/org/glassfish/flashlight/cli/ |
| H A D | EnableMonitoring.java | 77 private String pid; field in class:EnableMonitoring 106 if (pid != null) 107 pidInt = Integer.parseInt(pid);
|
| /glassfish-3.1.2/installer/src/cpp/share/launcher/ |
| H A D | java_md.unix.c | 1823 pid_t pid; local 1835 if ((pid = fork()) == 0) 1861 if (pid > 0 && waitpid(pid, &info, 0) >= 0 && WIFEXITED(info) && fstat(fdout[0], &sb) == 0) 1863 if (pid > 0 && waitpid(pid, &info, 0) >= 0 && WIFEXITED(info) && fstat(fdout[0], &sb) == 0 && sb.st_size > 0) 1918 pid_t pid; local 1973 if ((pid = fork()) == 0) 1986 if (pid > 0) 1999 if (waitpid(pid, 2084 int pid,info; local [all...] |