Package net.bytebuddy.agent
Enum Class 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>
,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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider
ByteBuddyAgent.AttachmentProvider.Accessor, ByteBuddyAgent.AttachmentProvider.Compound, ByteBuddyAgent.AttachmentProvider.ForEmulatedAttachment, ByteBuddyAgent.AttachmentProvider.ForJ9Vm, ByteBuddyAgent.AttachmentProvider.ForModularizedVm, ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm, ByteBuddyAgent.AttachmentProvider.ForUserDefinedToolsJar
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields inherited from interface net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider
DEFAULT
-
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
ForJ9Vm
private ForJ9Vm()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
attempt
Attempts the creation of an accessor for a specific JVM's attachment API.- Specified by:
attempt
in interfaceByteBuddyAgent.AttachmentProvider
- Returns:
- The accessor this attachment provider can supply for the currently running JVM.
-