public static enum ByteArrayClassLoader.SynchronizationStrategy.ForLegacyVm extends Enum<ByteArrayClassLoader.SynchronizationStrategy.ForLegacyVm> implements ByteArrayClassLoader.SynchronizationStrategy, ByteArrayClassLoader.SynchronizationStrategy.Initializable
ByteArrayClassLoader.SynchronizationStrategy.CreationAction, ByteArrayClassLoader.SynchronizationStrategy.ForJava7CapableVm, ByteArrayClassLoader.SynchronizationStrategy.ForJava8CapableVm, ByteArrayClassLoader.SynchronizationStrategy.ForLegacyVm, ByteArrayClassLoader.SynchronizationStrategy.Initializable
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
Object |
getClassLoadingLock(ByteArrayClassLoader classLoader,
String name)
Receives the class loading lock.
|
ByteArrayClassLoader.SynchronizationStrategy |
initialize()
Initializes this synchronization strategy.
|
static ByteArrayClassLoader.SynchronizationStrategy.ForLegacyVm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteArrayClassLoader.SynchronizationStrategy.ForLegacyVm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteArrayClassLoader.SynchronizationStrategy.ForLegacyVm INSTANCE
public static ByteArrayClassLoader.SynchronizationStrategy.ForLegacyVm[] values()
for (ByteArrayClassLoader.SynchronizationStrategy.ForLegacyVm c : ByteArrayClassLoader.SynchronizationStrategy.ForLegacyVm.values()) System.out.println(c);
public static ByteArrayClassLoader.SynchronizationStrategy.ForLegacyVm valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Object getClassLoadingLock(ByteArrayClassLoader classLoader, String name)
getClassLoadingLock
in interface ByteArrayClassLoader.SynchronizationStrategy
classLoader
- The class loader loading the class.name
- The name of the class being loaded.public ByteArrayClassLoader.SynchronizationStrategy initialize()
initialize
in interface ByteArrayClassLoader.SynchronizationStrategy.Initializable
Copyright © 2014–2025. All rights reserved.