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

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.ClassLoader classLoader
      The type's class loader which must not be the boot loader, i.e null.
      private java.lang.String name
      The loaded type's name.
      private java.util.concurrent.atomic.AtomicBoolean signal
      The signal that indicates the completion of the class loading with false.
    • 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
    • Field Detail

      • name

        private final java.lang.String name
        The loaded type's name.
      • classLoader

        private final java.lang.ClassLoader classLoader
        The type's class loader which must not be the boot loader, i.e null.
      • signal

        private final java.util.concurrent.atomic.AtomicBoolean signal
        The signal that indicates the completion of the class loading with false.
    • 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 which must not be the boot loader, i.e null.
        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