com.jdon.container.visitor
接口 ComponentVisitor

所有超级接口:
Serializable
所有已知实现类:
ComponentOriginalVisitor, HttpSessionProxyComponentVisitor, NoSessionProxyComponentVisitor

public interface ComponentVisitor
extends Serializable

Visitor pattern ComponentVisitor is a actor of Visitor, it do not need many access method, such as: visitAcomponent(); visitBcomponent(); ... because all these components has registered in container, we can get them from container. there are two concrete classes:

作者:
banq
另请参见:
ComponentOriginalVisitor, HttpSessionProxyComponentVisitor

方法摘要
 SessionContext createSessionContext()
           
 Object visit()
          using this method, the component that implements Visitable interface will be executed, and return the running result.
 

方法详细信息

visit

Object visit()
using this method, the component that implements Visitable interface will be executed, and return the running result.

参数:
targetMetaDef - target service meta
返回:
the result of the component run

createSessionContext

SessionContext createSessionContext()


Copyright © 2013. All Rights Reserved.