public static class ByteArrayClassLoader.ChildFirst.SynchronizationStrategy.ForJava7CapableVm extends Object implements ByteArrayClassLoader.ChildFirst.SynchronizationStrategy, PrivilegedAction<ByteArrayClassLoader.ChildFirst.SynchronizationStrategy>
ByteArrayClassLoader.ChildFirst.SynchronizationStrategy.ForJava7CapableVm, ByteArrayClassLoader.ChildFirst.SynchronizationStrategy.ForLegacyVm| Modifier | Constructor and Description |
|---|---|
protected |
ForJava7CapableVm(Method method)
Creates a new synchronization engine.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
classLoadingLock(String name,
ClassLoader classLoader)
Receives the class loading lock.
|
boolean |
equals(Object other) |
int |
hashCode() |
protected static ByteArrayClassLoader.ChildFirst.SynchronizationStrategy |
resolve()
Resolves a synchronization engine for a modern VM if this is possible.
|
ByteArrayClassLoader.ChildFirst.SynchronizationStrategy |
run() |
String |
toString() |
protected ForJava7CapableVm(Method method)
method - The ClassLoader#getClassLoadingLock(String) method.protected static ByteArrayClassLoader.ChildFirst.SynchronizationStrategy resolve() throws NoSuchMethodException
NoSuchMethodException - If the executing VM is not a modern VM.public Object classLoadingLock(String name, ClassLoader classLoader)
ByteArrayClassLoader.ChildFirst.SynchronizationStrategyclassLoadingLock in interface ByteArrayClassLoader.ChildFirst.SynchronizationStrategyname - The name of the class being loaded.classLoader - The class loader loading the class.public ByteArrayClassLoader.ChildFirst.SynchronizationStrategy run()
run in interface PrivilegedAction<ByteArrayClassLoader.ChildFirst.SynchronizationStrategy>Copyright © 2014–2016. All rights reserved.