@HashCodeAndEqualsPlugin.Enhance public static class ByteArrayClassLoader.SynchronizationStrategy.ForJava8CapableVm 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 |
ForJava8CapableVm(Object methodHandle,
Method bindTo,
Method invokeWithArguments)
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 ForJava8CapableVm(Object methodHandle, Method bindTo, Method invokeWithArguments)
methodHandle
- The java.lang.invoke.MethodHandle
to use.bindTo
- The java.lang.invoke.MethodHandle#bindTo(Object)
method.invokeWithArguments
- The java.lang.invoke.MethodHandle#invokeWithArguments(Object[])
method.public ByteArrayClassLoader.SynchronizationStrategy initialize()
initialize
in interface ByteArrayClassLoader.SynchronizationStrategy.Initializable
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.Copyright © 2014–2019. All rights reserved.