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 ofExecutableComponent
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 boolean
classShared
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
classShared()
Gets whether the unloaded class was shared.
-
-
-
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.
-
-