Class ScreenBean

java.lang.Object
com.softwaremining.ui.web.socket.ScreenBean
All Implemented Interfaces:
EventListener, javax.servlet.http.HttpSessionBindingListener
Direct Known Subclasses:
JSPScreenBean, XSLTScreenBean

public abstract class ScreenBean extends Object implements javax.servlet.http.HttpSessionBindingListener
Implementation of "HttpSessionBindingListener" Causes an object to be notified when it is bound to or unbound from a session. The object is notified by an HttpSessionBindingEvent object. For every incoming Session we get a new ScreenBean ... and it registers a new ThreadMultiplixer Most of the work will be done by the ThreadMultiplexor
  • Field Details

    • targetInstance

      protected transient Service targetInstance
  • Constructor Details

    • ScreenBean

      public ScreenBean(Service targetInstance)
  • Method Details

    • createScreen

      public abstract AbstractScreen createScreen()
    • processResponse

      public abstract void processResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    • closeForm

      public final void closeForm(javax.servlet.http.HttpServletResponse response)
    • valueBound

      public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
      Implementation of "HttpSessionBindingListener" interface method Notifies the object that it is being bound to a session and identifies the session
      Specified by:
      valueBound in interface javax.servlet.http.HttpSessionBindingListener
    • valueUnbound

      public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
      Implementation of "HttpSessionBindingListener" interface method Notifies the object that it is being unbound from a session and identifies the session.
      Specified by:
      valueUnbound in interface javax.servlet.http.HttpSessionBindingListener
    • startRunInSeparateThread

      public void startRunInSeparateThread()
    • getScreenServer

      public ScreenServer getScreenServer()
    • acceptParameters

      public void acceptParameters(javax.servlet.http.HttpServletRequest request)
    • generateReport

      public void generateReport(javax.servlet.http.HttpServletResponse response)
    • getScreen

      public AbstractScreen getScreen()
    • getTargetInstance

      public Service getTargetInstance()
    • setTargetInstance

      public void setTargetInstance(Service targetInstance)
    • setHttpRequestParameters

      public void setHttpRequestParameters(javax.servlet.http.HttpServletRequest request)
    • destroy

      public void destroy()
    • abortServerThread

      public void abortServerThread()