Enum Class ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm

java.lang.Object
java.lang.Enum<ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm>
net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm
All Implemented Interfaces:
Serializable, Comparable<ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm>, Constable, ByteBuddyAgent.AttachmentProvider
Enclosing interface:
ByteBuddyAgent.AttachmentProvider

public static enum ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm extends Enum<ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm> implements ByteBuddyAgent.AttachmentProvider
An attachment provider that is dependant on the existence of a tools.jar file on the local file system.
  • Enum Constant Details

  • Field Details

    • JAVA_HOME_PROPERTY

      private static final String JAVA_HOME_PROPERTY
      The Java home system property.
      See Also:
    • toolsJarPath

      private final String toolsJarPath
      The path to the tools.jar file, starting from the Java home directory.
  • Constructor Details

    • ForStandardToolsJarVm

      private ForStandardToolsJarVm(String toolsJarPath)
      Creates a new attachment provider that loads the virtual machine class from the tools.jar.
      Parameters:
      toolsJarPath - The path to the tools.jar file, starting from the Java home directory.
  • Method Details