public static enum AgentBuilder.Default.BootstrapInjectionStrategy.Unsafe extends java.lang.Enum<AgentBuilder.Default.BootstrapInjectionStrategy.Unsafe> implements AgentBuilder.Default.BootstrapInjectionStrategy
sun.misc.Unsafe.AgentBuilder.Default.BootstrapInjectionStrategy.Disabled, AgentBuilder.Default.BootstrapInjectionStrategy.Enabled, AgentBuilder.Default.BootstrapInjectionStrategy.Unsafe| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
ClassInjector |
make(java.security.ProtectionDomain protectionDomain)
Creates an injector for the bootstrap class loader.
|
static AgentBuilder.Default.BootstrapInjectionStrategy.Unsafe |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AgentBuilder.Default.BootstrapInjectionStrategy.Unsafe[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentBuilder.Default.BootstrapInjectionStrategy.Unsafe INSTANCE
public static AgentBuilder.Default.BootstrapInjectionStrategy.Unsafe[] values()
for (AgentBuilder.Default.BootstrapInjectionStrategy.Unsafe c : AgentBuilder.Default.BootstrapInjectionStrategy.Unsafe.values()) System.out.println(c);
public static AgentBuilder.Default.BootstrapInjectionStrategy.Unsafe valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic ClassInjector make(java.security.ProtectionDomain protectionDomain)
make in interface AgentBuilder.Default.BootstrapInjectionStrategyprotectionDomain - The protection domain to be used.