protected static class ByteBuddyAgent.ProcessProvider.ForCurrentVm.ForJava9CapableVm extends Object implements ByteBuddyAgent.ProcessProvider
ByteBuddyAgent.ProcessProvider.ForCurrentVm| Modifier | Constructor and Description |
|---|---|
protected |
ForJava9CapableVm(Method current,
Method pid)
Creates a new Java 9 capable dispatcher for reading the current process's id.
|
| Modifier and Type | Method and Description |
|---|---|
static ByteBuddyAgent.ProcessProvider |
make()
Attempts to create a dispatcher for a Java 9 VM and falls back to a legacy dispatcher
if this is not possible.
|
String |
resolve()
Resolves a process id for the current JVM.
|
public static ByteBuddyAgent.ProcessProvider make()
public String resolve()
ByteBuddyAgent.ProcessProviderresolve in interface ByteBuddyAgent.ProcessProviderCopyright © 2014–2017. All rights reserved.