org.directwebremoting.servlet
Class AmdDtoHandler
java.lang.Object
org.directwebremoting.servlet.CachingHandler
org.directwebremoting.servlet.TemplateHandler
org.directwebremoting.servlet.JavaScriptHandler
org.directwebremoting.servlet.GeneratedJavaScriptHandler
org.directwebremoting.servlet.BaseDtoHandler
org.directwebremoting.servlet.AmdDtoHandler
- All Implemented Interfaces:
- Handler
public class AmdDtoHandler
- extends BaseDtoHandler
A handler for DTO class generation requests compatible with the AMD module format.
- Author:
- Mike Wilson [mikewse at hotmail dot com]
|
Method Summary |
java.lang.String |
generateDtoScript(java.lang.String contextPath,
java.lang.String servletPath,
java.lang.String jsClassName)
Does the actual work of generating the dto script |
void |
setAmdDtoBaseModulePath(java.lang.String modulePath)
Setter for the module path that DTO is on |
void |
setAmdDtoHandlerUrl(java.lang.String amdDtoHandlerUrl)
Setter for the URL that this handler is available on |
void |
setAmdDwrBaseModulePath(java.lang.String modulePath)
Setter for the module path that dwr.engine is on |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AmdDtoHandler
public AmdDtoHandler()
generateDtoScript
public java.lang.String generateDtoScript(java.lang.String contextPath,
java.lang.String servletPath,
java.lang.String jsClassName)
- Description copied from class:
BaseDtoHandler
- Does the actual work of generating the dto script
- Specified by:
generateDtoScript in class BaseDtoHandler
- Parameters:
contextPath - TODOservletPath - TODO
- Returns:
- dto script
setAmdDtoHandlerUrl
public void setAmdDtoHandlerUrl(java.lang.String amdDtoHandlerUrl)
- Setter for the URL that this handler is available on
- Parameters:
amdDtoHandlerUrl - the dtoHandlerUrl to set
setAmdDwrBaseModulePath
public void setAmdDwrBaseModulePath(java.lang.String modulePath)
- Setter for the module path that dwr.engine is on
- Parameters:
modulePath - the modulePath to set
setAmdDtoBaseModulePath
public void setAmdDtoBaseModulePath(java.lang.String modulePath)
- Setter for the module path that DTO is on
- Parameters:
modulePath - the modulePath to set