org.tinygroup.weblayer
类 AbstractTinyProcessor

java.lang.Object
  继承者 org.tinygroup.weblayer.AbstractTinyProcessor
所有已实现的接口:
org.tinygroup.appconfig.AppConfig, TinyProcessor
直接已知子类:
FullContextUrlRedirectTinyProcessor, MvcTinyProcessor, PageFlowTinyProcessor, TinyProcessorWapper, VelocityLayoutViewTinyProcessor

public abstract class AbstractTinyProcessor
extends Object
implements TinyProcessor

tiny servlet 处理器的抽象实现

作者:
renhui

构造方法摘要
AbstractTinyProcessor()
           
 
方法摘要
 void destory()
          tinyprocessor的销毁操作
 org.tinygroup.xmlparser.node.XmlNode getConfiguration()
           
 Map<String,String> getInitParamMap()
           
 String getNodeName()
           
 List<Pattern> getPatterns()
           
 void init()
          加载节点配置信息,存入对象中
 boolean isMatch(String urlString)
          判断url是否匹配,如果匹配,返回True
 void process(String urlString, WebContext context)
          处理
abstract  void reallyProcess(String urlString, WebContext context)
          tinyprocessor的逻辑处理方法,由子类来完成
 void setConfiguration(org.tinygroup.xmlparser.node.XmlNode xmlNode)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

AbstractTinyProcessor

public AbstractTinyProcessor()
方法详细信息

getNodeName

public String getNodeName()
指定者:
接口 org.tinygroup.appconfig.AppConfig 中的 getNodeName

setConfiguration

public void setConfiguration(org.tinygroup.xmlparser.node.XmlNode xmlNode)
指定者:
接口 org.tinygroup.appconfig.AppConfig 中的 setConfiguration

init

public void init()
加载节点配置信息,存入对象中

指定者:
接口 TinyProcessor 中的 init
参数:
xmlNode -

destory

public void destory()
从接口 TinyProcessor 复制的描述
tinyprocessor的销毁操作

指定者:
接口 TinyProcessor 中的 destory

getConfiguration

public org.tinygroup.xmlparser.node.XmlNode getConfiguration()
指定者:
接口 org.tinygroup.appconfig.AppConfig 中的 getConfiguration

isMatch

public boolean isMatch(String urlString)
从接口 TinyProcessor 复制的描述
判断url是否匹配,如果匹配,返回True

指定者:
接口 TinyProcessor 中的 isMatch
返回:

getInitParamMap

public Map<String,String> getInitParamMap()

getPatterns

public List<Pattern> getPatterns()

process

public void process(String urlString,
                    WebContext context)
从接口 TinyProcessor 复制的描述
处理

指定者:
接口 TinyProcessor 中的 process

reallyProcess

public abstract void reallyProcess(String urlString,
                                   WebContext context)
tinyprocessor的逻辑处理方法,由子类来完成

参数:
urlString -
context -


Copyright © 2006–2013 开源组织. All rights reserved.