Package net.bytebuddy.agent
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 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.
-
-
-
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.
-
-