Package com.decs.application.services
Class SessionManager
java.lang.Object
com.decs.application.services.SessionManager
Session Manager Class
This class establishes a bridge between the global system state and each user session. The active queue system is implemented and managed, which restricts the execution of Jobs to just one at a time.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprivate booleanprivate PropertyChangeSupportprivate HashMap<com.vaadin.flow.component.UI, PropertyChangeListener> private com.vaadin.flow.component.UI -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPropertyChangeListener(String property, PropertyChangeListener newListener, com.vaadin.flow.component.UI ui) Add or replace a property change listener to the respective property change supportbooleancom.vaadin.flow.component.UIvoidsetEvolutionEngineBusy(boolean value, com.vaadin.flow.component.UI starterUI)
-
Field Details
-
EVOLUTION_ENGINE_TYPE
- See Also:
-
pcs
-
evolutionEngineBusy
private boolean evolutionEngineBusy -
starterUI
private com.vaadin.flow.component.UI starterUI -
propertyChangeListenerMap
-
-
Constructor Details
-
SessionManager
public SessionManager()Class Constructor
-
-
Method Details
-
getStarterUI
public com.vaadin.flow.component.UI getStarterUI() -
getEvolutionEngineBusy
public boolean getEvolutionEngineBusy() -
setEvolutionEngineBusy
public void setEvolutionEngineBusy(boolean value, com.vaadin.flow.component.UI starterUI) -
addPropertyChangeListener
public void addPropertyChangeListener(String property, PropertyChangeListener newListener, com.vaadin.flow.component.UI ui) Add or replace a property change listener to the respective property change support- Parameters:
property- Property namenewListener- Property change listener objectui- UI object of the user to be connected with the property change listener
-