MCPcopy Index your code
hub / github.com/cloudfoundry/java-test-applications / Probe

Class Probe

play-application/app/util/Probe.java:24–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22import java.util.List;
23
24public class Probe {
25
26 private final List<String> inputArguments;
27
28 private final String[] classpath;
29
30 public Probe() {
31 RuntimeMXBean runtimeMxBean = ManagementFactory.getRuntimeMXBean();
32 this.inputArguments = runtimeMxBean.getInputArguments();
33 this.classpath = runtimeMxBean.getClassPath().split(":");
34 }
35
36 public List<String> getInputArguments() {
37 return this.inputArguments;
38 }
39
40 public String[] getClassPath() {
41 return this.classpath;
42 }
43
44}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected