org.directwebremoting.servlet
Class DojoDtoAllHandler

java.lang.Object
  extended by org.directwebremoting.servlet.CachingHandler
      extended by org.directwebremoting.servlet.TemplateHandler
          extended by org.directwebremoting.servlet.JavaScriptHandler
              extended by org.directwebremoting.servlet.GeneratedJavaScriptHandler
                  extended by org.directwebremoting.servlet.BaseDtoAllHandler
                      extended by org.directwebremoting.servlet.DojoDtoAllHandler
All Implemented Interfaces:
Handler

public class DojoDtoAllHandler
extends BaseDtoAllHandler

A handler for dtoall generation requests in the Dojo module format

Author:
Mike Wilson [mikewse at hotmail dot com]

Constructor Summary
DojoDtoAllHandler()
           
 
Method Summary
 java.lang.String generateDtoAllScript(java.lang.String contextPath, java.lang.String servletPath)
          Generates the full dtoall script by decorating the DTO classes returned by the Remoter.
 void setDojoDtoBaseModulePath(java.lang.String modulePath)
          Setter for the module path that DTO is on
 void setDojoDwrBaseModulePath(java.lang.String modulePath)
          Setter for the module path that dtoall is on
 
Methods inherited from class org.directwebremoting.servlet.BaseDtoAllHandler
setConverterManager, setGenerateDtoClasses
 
Methods inherited from class org.directwebremoting.servlet.GeneratedJavaScriptHandler
setRemoter
 
Methods inherited from class org.directwebremoting.servlet.JavaScriptHandler
generateCachableContent, setCompressor, setDebug
 
Methods inherited from class org.directwebremoting.servlet.CachingHandler
getMimeType, handle, setIgnoreLastModified, setMimeType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DojoDtoAllHandler

public DojoDtoAllHandler()
Method Detail

generateDtoAllScript

public java.lang.String generateDtoAllScript(java.lang.String contextPath,
                                             java.lang.String servletPath)
Generates the full dtoall script by decorating the DTO classes returned by the Remoter.

Specified by:
generateDtoAllScript in class BaseDtoAllHandler
Returns:
string containing dtoall script

setDojoDwrBaseModulePath

public void setDojoDwrBaseModulePath(java.lang.String modulePath)
Setter for the module path that dtoall is on

Parameters:
modulePath - the modulePath to set

setDojoDtoBaseModulePath

public void setDojoDtoBaseModulePath(java.lang.String modulePath)
Setter for the module path that DTO is on

Parameters:
modulePath - the modulePath to set

Copyright ยจ 2008