@HashCodeAndEqualsPlugin.Enhance public static class ByteArrayClassLoader.SynchronizationStrategy.ForJava7CapableVm extends java.lang.Object implements ByteArrayClassLoader.SynchronizationStrategy, ByteArrayClassLoader.SynchronizationStrategy.Initializable
ByteArrayClassLoader.SynchronizationStrategy.CreationAction, ByteArrayClassLoader.SynchronizationStrategy.ForJava7CapableVm, ByteArrayClassLoader.SynchronizationStrategy.ForJava8CapableVm, ByteArrayClassLoader.SynchronizationStrategy.ForLegacyVm, ByteArrayClassLoader.SynchronizationStrategy.Initializable| Modifier and Type | Field and Description |
|---|---|
private java.lang.reflect.Method |
method
The
ClassLoader#getClassLoadingLock(String) method. |
| Modifier | Constructor and Description |
|---|---|
protected |
ForJava7CapableVm(java.lang.reflect.Method method)
Creates a new synchronization strategy.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getClassLoadingLock(ByteArrayClassLoader classLoader,
java.lang.String name)
Receives the class loading lock.
|
ByteArrayClassLoader.SynchronizationStrategy |
initialize()
Initializes this synchronization strategy.
|
private final java.lang.reflect.Method method
ClassLoader#getClassLoadingLock(String) method.protected ForJava7CapableVm(java.lang.reflect.Method method)
method - The ClassLoader#getClassLoadingLock(String) method.public java.lang.Object getClassLoadingLock(ByteArrayClassLoader classLoader, java.lang.String name)
getClassLoadingLock in interface ByteArrayClassLoader.SynchronizationStrategyclassLoader - The class loader loading the class.name - The name of the class being loaded.public ByteArrayClassLoader.SynchronizationStrategy initialize()
initialize in interface ByteArrayClassLoader.SynchronizationStrategy.Initializable