Class ByteBuddyAgent.AttachmentProvider.Accessor.ExternalAttachment

  • Enclosing interface:
    ByteBuddyAgent.AttachmentProvider.Accessor

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

      Fields 
      Modifier and Type Field Description
      private java.util.List<java.io.File> classPath
      The class path elements required for loading the supplied virtual machine type.
      private java.lang.String virtualMachineType
      The fully-qualified binary name of the virtual machine type.
    • Constructor Summary

      Constructors 
      Constructor Description
      ExternalAttachment​(java.lang.String virtualMachineType, java.util.List<java.io.File> classPath)
      Creates an external attachment.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.io.File> getClassPath()
      Returns the class path elements required for loading the supplied virtual machine type.
      java.lang.String getVirtualMachineType()
      Returns the fully-qualified binary name of the virtual machine type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • virtualMachineType

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

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

      • ExternalAttachment

        public ExternalAttachment​(java.lang.String virtualMachineType,
                                  java.util.List<java.io.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 Detail

      • getVirtualMachineType

        public java.lang.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 java.util.List<java.io.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.