Class ByteBuddyAgent.AttachmentProvider.Accessor.ExternalAttachment

java.lang.Object
net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider.Accessor.ExternalAttachment
Enclosing interface:
ByteBuddyAgent.AttachmentProvider.Accessor

public static class ByteBuddyAgent.AttachmentProvider.Accessor.ExternalAttachment extends Object
Describes an external attachment to a Java virtual machine.
  • Field Details

    • virtualMachineType

      private final String virtualMachineType
      The fully-qualified binary name of the virtual machine type.
    • classPath

      private final List<File> classPath
      The class path elements required for loading the supplied virtual machine type.
  • Constructor Details

    • ExternalAttachment

      public ExternalAttachment(String virtualMachineType, List<File> classPath)
      Creates an external attachment.
      Parameters:
      virtualMachineType - The fully-qualified binary name of the virtual machine type.
      classPath - The class path elements required for loading the supplied virtual machine type.
  • Method Details

    • getVirtualMachineType

      public String getVirtualMachineType()
      Returns the fully-qualified binary name of the virtual machine type.
      Returns:
      The fully-qualified binary name of the virtual machine type.
    • getClassPath

      public List<File> getClassPath()
      Returns the class path elements required for loading the supplied virtual machine type.
      Returns:
      The class path elements required for loading the supplied virtual machine type.