Class UnloadingClassEvent

java.lang.Object
de.aristaflow.adept2.model.runtimeenvironment.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 Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final boolean
    Whether the unloaded class was shared.
  • Constructor Summary

    Constructors
    Constructor
    Description
    UnloadingClassEvent(boolean classShared)
    Creates a new event for provision to the corresponding method notifying the unloading of the class.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets whether the unloaded class was shared.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • 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 Details

    • 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 Details

    • 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.