@HashCodeAndEqualsPlugin.Enhance protected static class AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate extends Object implements TypeDescription.SuperTypeLoading.ClassLoadingDelegate
Modifier and Type | Class and Description |
---|---|
protected static class |
AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.NotifyingClassLoadingAction
A class loading action that notifies the class loader's lock after the type was loaded.
|
protected static class |
AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.SimpleClassLoadingAction
A class loading action that simply loads a type.
|
TypeDescription.SuperTypeLoading.ClassLoadingDelegate.Simple
Modifier | Constructor and Description |
---|---|
protected |
ThreadSwitchingClassLoadingDelegate(ExecutorService executorService)
Creates a new thread-switching class loading delegate.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
load(String name,
ClassLoader classLoader)
Loads a type.
|
protected ThreadSwitchingClassLoadingDelegate(ExecutorService executorService)
executorService
- The executor service to delegate class loading to.public Class<?> load(String name, ClassLoader classLoader)
load
in interface TypeDescription.SuperTypeLoading.ClassLoadingDelegate
name
- The type's name,classLoader
- The class loader to load the type from which might be null
to represent the bootstrap class loader.Copyright © 2014–2020. All rights reserved.