摘要:
昨天在学习Struts2的代码时,发现在Dispatcher的init方法中,有这样一段代码:1 if (!dispatcherListeners.isEmpty()) {2 for (DispatcherListener l : dispatcherListeners) {3 l.dispatcherInitialized(this);4 }5 }很明显,代码中的dispatcherListeners是Dispatcher的监听类,其作用无非就是在Dispatche... 阅读全文
posted @ 2013-07-18 09:05
画水
阅读(391)
评论(0)
推荐(0)

浙公网安备 33010602011771号