Class 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

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispatch​(Activity activity, DispatchRule dispatchRule)
      Dispatch to other resources as the given rule.
      java.lang.String getContentType()  
      boolean isSingleton()
      Return whether this view dispatcher corresponds to a singleton instance.
      void setContentType​(java.lang.String contentType)  
      void setPrefix​(java.lang.String prefix)
      Sets the prefix for the template name.
      void setSuffix​(java.lang.String suffix)
      Sets the suffix for the template name.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • JspViewDispatcher

        public JspViewDispatcher()
    • Method Detail

      • setContentType

        public void setContentType​(java.lang.String contentType)
      • 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
      • isSingleton

        public boolean isSingleton()
        Description copied from interface: ViewDispatcher
        Return whether this view dispatcher corresponds to a singleton instance.
        Specified by:
        isSingleton in interface ViewDispatcher
        Returns:
        whether this view dispatcher corresponds to a singleton instance
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object