Class AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.NotifyingClassLoadingAction

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.lang.Class<?>>
    Enclosing class:
    AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate

    protected static class AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.NotifyingClassLoadingAction
    extends java.lang.Object
    implements java.util.concurrent.Callable<java.lang.Class<?>>
    A class loading action that notifies the class loader's lock after the type was loaded.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected NotifyingClassLoadingAction​(java.lang.String name, java.lang.ClassLoader classLoader, java.util.concurrent.atomic.AtomicBoolean signal)
      Creates a notifying class loading action.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<?> call()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NotifyingClassLoadingAction

        protected NotifyingClassLoadingAction​(java.lang.String name,
                                              java.lang.ClassLoader classLoader,
                                              java.util.concurrent.atomic.AtomicBoolean signal)
        Creates a notifying class loading action.
        Parameters:
        name - The loaded type's name.
        classLoader - The type's class loader or null if the type is loaded by the bootstrap loader.
        signal - The signal that indicates the completion of the class loading with false.
    • Method Detail

      • call

        public java.lang.Class<?> call()
                                throws java.lang.ClassNotFoundException
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.Class<?>>
        Throws:
        java.lang.ClassNotFoundException