Package com.softwaremining.ui.web.socket
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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
acceptParameters
(javax.servlet.http.HttpServletRequest request) final void
closeForm
(javax.servlet.http.HttpServletResponse response) abstract AbstractScreen
void
destroy()
void
generateReport
(javax.servlet.http.HttpServletResponse response) abstract void
processResponse
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) void
setHttpRequestParameters
(javax.servlet.http.HttpServletRequest request) void
setTargetInstance
(Service targetInstance) void
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 sessionvoid
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.
-
Field Details
-
targetInstance
-
-
Constructor Details
-
ScreenBean
-
-
Method Details
-
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 interfacejavax.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 interfacejavax.servlet.http.HttpSessionBindingListener
-
startRunInSeparateThread
public void startRunInSeparateThread() -
getScreenServer
-
acceptParameters
public void acceptParameters(javax.servlet.http.HttpServletRequest request) -
generateReport
public void generateReport(javax.servlet.http.HttpServletResponse response) -
getScreen
-
getTargetInstance
-
setTargetInstance
-
setHttpRequestParameters
public void setHttpRequestParameters(javax.servlet.http.HttpServletRequest request) -
destroy
public void destroy() -
abortServerThread
public void abortServerThread()
-