Class UnloadingClassEvent


  • public class UnloadingClassEvent
    extends Object
    This class is used as parameter for notifying the unloading of ExecutableComponent classes. It is the only parameter of the corresponding static method "unloadingClass". The class may be extended in the future providing more data without changing the method signature.
    Author:
    Ulrich Kreher
    • Field Detail

      • classShared

        protected final boolean classShared
        Whether the unloaded class was shared. If not, it was singleton with respect to the corresponding activity instance, that is, it was loaded separately for each execution of the component.
    • Constructor Detail

      • UnloadingClassEvent

        public UnloadingClassEvent​(boolean classShared)
        Creates a new event for provision to the corresponding method notifying the unloading of the class.
        Parameters:
        classShared - Whether the unloaded class was shared or loaded each time the component was executed.
    • Method Detail

      • classShared

        public boolean classShared()
        Gets whether the unloaded class was shared. If not, it was singleton with respect to the corresponding activity instance, that is, it was loaded separately for each execution of the component.
        Returns:
        Whether the unloaded class was shared or loaded each time the component was executed.