Class SessionManager

java.lang.Object
com.decs.application.services.SessionManager

@Service public class SessionManager extends Object
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 Details

    • EVOLUTION_ENGINE_TYPE

      public static final String EVOLUTION_ENGINE_TYPE
      See Also:
    • pcs

      private PropertyChangeSupport pcs
    • evolutionEngineBusy

      private boolean evolutionEngineBusy
    • starterUI

      private com.vaadin.flow.component.UI starterUI
    • propertyChangeListenerMap

      private HashMap<com.vaadin.flow.component.UI,PropertyChangeListener> 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 name
      newListener - Property change listener object
      ui - UI object of the user to be connected with the property change listener