Package com.aspectran.web.support.view
Class JspViewDispatcher
- java.lang.Object
-
- com.aspectran.web.support.view.JspViewDispatcher
-
- All Implemented Interfaces:
ViewDispatcher
public class JspViewDispatcher extends java.lang.Object implements ViewDispatcher
JSP or other web resource integration. Sends the model produced by Aspectran's internal activity to the JSP to render the final view page.Created: 2008. 03. 22 PM 5:51:58
-
-
Field Summary
-
Fields inherited from interface com.aspectran.core.activity.response.dispatch.ViewDispatcher
VIEW_DISPATCHER_SETTING_NAME
-
-
Constructor Summary
Constructors Constructor Description JspViewDispatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispatch(Activity activity, DispatchResponseRule dispatchResponseRule)Dispatch to other resources as the given rule.booleanisSingleton()Return whether this view dispatcher corresponds to a singleton instance.voidsetPrefix(java.lang.String prefix)Sets the prefix for the template name.voidsetSuffix(java.lang.String suffix)Sets the suffix for the template name.java.lang.StringtoString()
-
-
-
Method Detail
-
setPrefix
public void setPrefix(java.lang.String prefix)
Sets the prefix for the template name.- Parameters:
prefix- the new prefix for the template name
-
setSuffix
public void setSuffix(java.lang.String suffix)
Sets the suffix for the template name.- Parameters:
suffix- the new suffix for the template name
-
dispatch
public void dispatch(Activity activity, DispatchResponseRule dispatchResponseRule) throws ViewDispatcherException
Description copied from interface:ViewDispatcherDispatch to other resources as the given rule.- Specified by:
dispatchin interfaceViewDispatcher- Parameters:
activity- the current activitydispatchResponseRule- the dispatch response rule- Throws:
ViewDispatcherException- the view dispatch exception
-
isSingleton
public boolean isSingleton()
Description copied from interface:ViewDispatcherReturn whether this view dispatcher corresponds to a singleton instance.- Specified by:
isSingletonin interfaceViewDispatcher- Returns:
- whether this view dispatcher corresponds to a singleton instance
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-