|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.GenericServlet | +--javax.servlet.http.HttpServlet | +--org.millstone.webadapter.WebAdapterServlet
This servlet is the core of the MillStone Web Adapter, that adapts the MillStone applications to Web standards. The web adapter can be used to represent the most MillStone application using Web browsers and corresponding technologies.
Constructor Summary | |
WebAdapterServlet()
|
Method Summary | |
protected void |
addDirtyWindow(Application application,
Window window)
|
protected java.util.Set |
getDirtyWindows(Application app)
Get the list of dirty windows in application |
java.lang.String |
getResourceLocation(java.lang.String theme,
ThemeResource resource)
Get relative location of a theme resource. |
ThemeSource |
getThemeSource()
Returns the theme source. |
void |
init(javax.servlet.ServletConfig servletConfig)
Called by the servlet container to indicate to a servlet that the servlet is being placed into service. |
boolean |
isDebugMode()
Check if web adapter is in debug mode. |
protected void |
removeDirtyWindow(Application application,
Window window)
|
void |
repaintRequested(Paintable.RepaintRequestEvent event)
Receive repaint request events. |
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Receives standard HTTP requests from the public service method and dispatches them. |
void |
windowAttached(org.millstone.base.Application.WindowAttachEvent event)
Window attached |
void |
windowDetached(org.millstone.base.Application.WindowDetachEvent event)
Window attached |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WebAdapterServlet()
Method Detail |
public void init(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
servletConfig
- object containing the servlet's configuration and
initialization parameters
javax.servlet.ServletException
- if an exception has occurred that interferes
with the servlet's normal operation.protected void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
service
in class javax.servlet.http.HttpServlet
request
- object that contains the request the client
made of the servletresponse
- object that contains the response the servlet
returns to the client
javax.servlet.ServletException
- if an input or output error occurs while the
servlet is handling the TRACE request
java.io.IOException
- if the request for the TRACE cannot be handledpublic java.lang.String getResourceLocation(java.lang.String theme, ThemeResource resource)
theme
- Theme nameresource
- Theme resource
public boolean isDebugMode()
public ThemeSource getThemeSource()
protected void addDirtyWindow(Application application, Window window)
protected void removeDirtyWindow(Application application, Window window)
public void windowAttached(org.millstone.base.Application.WindowAttachEvent event)
Application.WindowAttachListener
windowAttached
in interface Application.WindowAttachListener
Application.WindowAttachListener.windowAttached(Application.WindowAttachEvent)
public void windowDetached(org.millstone.base.Application.WindowDetachEvent event)
Application.WindowDetachListener
windowDetached
in interface Application.WindowDetachListener
Application.WindowDetachListener.windowDetached(Application.WindowDetachEvent)
public void repaintRequested(Paintable.RepaintRequestEvent event)
Paintable.RepaintRequestListener
repaintRequested
in interface Paintable.RepaintRequestListener
event
- The repaint request event specifying the paintable source.Paintable.RepaintRequestListener.repaintRequested(Paintable.RepaintRequestEvent)
protected java.util.Set getDirtyWindows(Application app)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |