JavaScud | Forum | JIRA | Blog |
  Dashboard > DWR中文文档 > ... > WEB-INF Configuration > Plug-ins
  DWR中文文档 Log In View a printable version of the current page.  
  Plug-ins
Added by 黑灵, last edited by 黑灵 on Oct 20, 2006
Labels: 
(None)

使用插件(Plug-in)

DWR里的很多部件都是可插入的,所以所以可以通过替换掉DWR的默认实现类来改变其功能。你可以在 <init-param> 中的 param-name 中指定你要替换的接口,并在 param-value 中指定自己的接口实现类。

可插入点是:

  • uk.ltd.getahead.dwr.AccessControl
  • uk.ltd.getahead.dwr.Configuration
  • uk.ltd.getahead.dwr.ConverterManager
  • uk.ltd.getahead.dwr.CreatorManager
  • uk.ltd.getahead.dwr.Processor
  • uk.ltd.getahead.dwr.ExecutionContext

这些可插入点默认的实现都在uk.ltd.getahead.dwr.impl中。

Site running on a free Atlassian Confluence Open Source Project License granted to WebWork China. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.3 Build:#808 May 29, 2007) - Bug/feature request - Contact Administrators