Package net.bytebuddy.dynamic.loading
Interface ByteArrayClassLoader.SynchronizationStrategy
- All Known Implementing Classes:
ByteArrayClassLoader.SynchronizationStrategy.ForJava7CapableVm
,ByteArrayClassLoader.SynchronizationStrategy.ForJava8CapableVm
,ByteArrayClassLoader.SynchronizationStrategy.ForLegacyVm
- Enclosing class:
- ByteArrayClassLoader
protected static interface ByteArrayClassLoader.SynchronizationStrategy
An engine for receiving a class loading lock when loading a class.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
A creation action for a synchronization strategy.static class
A synchronization engine for a VM that is aware of parallel-capable class loaders.static class
A synchronization engine for a VM that is aware of parallel-capable class loaders using method handles to respect module boundaries.static enum
A synchronization engine for a VM that is not aware of parallel-capable class loaders.static interface
An uninitialized synchronization strategy. -
Method Summary
Modifier and TypeMethodDescriptiongetClassLoadingLock
(ByteArrayClassLoader classLoader, String name) Receives the class loading lock.
-
Method Details
-
getClassLoadingLock
Receives the class loading lock.- Parameters:
name
- The name of the class being loaded.classLoader
- The class loader loading the class.- Returns:
- The corresponding class loading lock.
-