Package net.bytebuddy.agent.builder
Enum AgentBuilder.Default.BootstrapInjectionStrategy.Disabled
- java.lang.Object
-
- java.lang.Enum<AgentBuilder.Default.BootstrapInjectionStrategy.Disabled>
-
- net.bytebuddy.agent.builder.AgentBuilder.Default.BootstrapInjectionStrategy.Disabled
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AgentBuilder.Default.BootstrapInjectionStrategy.Disabled>
,AgentBuilder.Default.BootstrapInjectionStrategy
- Enclosing interface:
- AgentBuilder.Default.BootstrapInjectionStrategy
public static enum AgentBuilder.Default.BootstrapInjectionStrategy.Disabled extends java.lang.Enum<AgentBuilder.Default.BootstrapInjectionStrategy.Disabled> implements AgentBuilder.Default.BootstrapInjectionStrategy
A disabled bootstrap injection strategy.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.agent.builder.AgentBuilder.Default.BootstrapInjectionStrategy
AgentBuilder.Default.BootstrapInjectionStrategy.Disabled, AgentBuilder.Default.BootstrapInjectionStrategy.Enabled, AgentBuilder.Default.BootstrapInjectionStrategy.Unsafe
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
The singleton instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
Disabled()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassInjector
make(java.security.ProtectionDomain protectionDomain)
Creates an injector for the bootstrap class loader.static AgentBuilder.Default.BootstrapInjectionStrategy.Disabled
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AgentBuilder.Default.BootstrapInjectionStrategy.Disabled[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final AgentBuilder.Default.BootstrapInjectionStrategy.Disabled INSTANCE
The singleton instance.
-
-
Method Detail
-
values
public static AgentBuilder.Default.BootstrapInjectionStrategy.Disabled[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AgentBuilder.Default.BootstrapInjectionStrategy.Disabled c : AgentBuilder.Default.BootstrapInjectionStrategy.Disabled.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AgentBuilder.Default.BootstrapInjectionStrategy.Disabled valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
make
public ClassInjector make(java.security.ProtectionDomain protectionDomain)
Creates an injector for the bootstrap class loader.- Specified by:
make
in interfaceAgentBuilder.Default.BootstrapInjectionStrategy
- Parameters:
protectionDomain
- The protection domain to be used.- Returns:
- A class injector for the bootstrap class loader.
-
-