Package net.bytebuddy.agent.builder
Class AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.SimpleClassLoadingAction
- java.lang.Object
-
- net.bytebuddy.agent.builder.AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.SimpleClassLoadingAction
-
- Enclosing class:
- AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate
@Enhance protected static class AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.SimpleClassLoadingAction extends Object implements Callable<Class<?>>
A class loading action that simply loads a type.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SimpleClassLoadingAction(String name, ClassLoader classLoader)
Creates a simple class loading action.
-
-
-
Constructor Detail
-
SimpleClassLoadingAction
protected SimpleClassLoadingAction(String name, ClassLoader classLoader)
Creates a simple class loading action.- Parameters:
name
- The loaded type's name.classLoader
- The type's class loader ornull
if the type is loaded by the bootstrap loader.
-
-
Method Detail
-
call
public Class<?> call() throws ClassNotFoundException
- Specified by:
call
in interfaceCallable<Class<?>>
- Throws:
ClassNotFoundException
-
-