Package net.bytebuddy.agent
Interface ByteBuddyAgent.ProcessProvider
- All Known Implementing Classes:
ByteBuddyAgent.ProcessProvider.ForCurrentVm
,ByteBuddyAgent.ProcessProvider.ForCurrentVm.ForJava9CapableVm
,ByteBuddyAgent.ProcessProvider.ForCurrentVm.ForLegacyVm
- Enclosing class:
- ByteBuddyAgent
public static interface ByteBuddyAgent.ProcessProvider
A process provider is responsible for providing the process id of the current VM.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Supplies the current VM's process id. -
Method Summary
-
Method Details
-
resolve
String resolve()Resolves a process id for the current JVM.- Returns:
- The resolved process id.
-