@HashCodeAndEqualsPlugin.Enhance public static class ByteArrayClassLoader.SynchronizationStrategy.ForJava7CapableVm extends Object implements ByteArrayClassLoader.SynchronizationStrategy, ByteArrayClassLoader.SynchronizationStrategy.Initializable
ByteArrayClassLoader.SynchronizationStrategy.CreationAction, ByteArrayClassLoader.SynchronizationStrategy.ForJava7CapableVm, ByteArrayClassLoader.SynchronizationStrategy.ForJava8CapableVm, ByteArrayClassLoader.SynchronizationStrategy.ForLegacyVm, ByteArrayClassLoader.SynchronizationStrategy.Initializable
Modifier | Constructor and Description |
---|---|
protected |
ForJava7CapableVm(Method method)
Creates a new synchronization strategy.
|
Modifier and Type | Method and Description |
---|---|
Object |
getClassLoadingLock(ByteArrayClassLoader classLoader,
String name)
Receives the class loading lock.
|
ByteArrayClassLoader.SynchronizationStrategy |
initialize()
Initializes this synchronization strategy.
|
protected ForJava7CapableVm(Method method)
method
- The ClassLoader#getClassLoadingLock(String)
method.public 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–2022. All rights reserved.