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 Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Supplies the current VM's process id.
  • Method Summary

    Modifier and Type
    Method
    Description
    Resolves a process id for the current JVM.
  • Method Details

    • resolve

      String resolve()
      Resolves a process id for the current JVM.
      Returns:
      The resolved process id.