Enum ByteBuddyAgent.AttachmentProvider.ForJ9Vm

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

public static enum ByteBuddyAgent.AttachmentProvider.ForJ9Vm extends Enum<ByteBuddyAgent.AttachmentProvider.ForJ9Vm> implements ByteBuddyAgent.AttachmentProvider
An attachment provider that locates the attach API directly from the system class loader expecting an IBM J9 VM.
  • Enum Constant Details

  • Constructor Details

    • ForJ9Vm

      private ForJ9Vm()
  • Method Details

    • values

      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ByteBuddyAgent.AttachmentProvider.ForJ9Vm valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • attempt

      Attempts the creation of an accessor for a specific JVM's attachment API.
      Specified by:
      attempt in interface ByteBuddyAgent.AttachmentProvider
      Returns:
      The accessor this attachment provider can supply for the currently running JVM.