org.makumba.commons.tags
Class MakumbaInfoTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.makumba.commons.tags.MakumbaInfoTag
All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag

public class MakumbaInfoTag
extends TagSupport

Implementation of the mak:info tag, which displays information about the application server environment, the current session, etc.

Version:
$Id: MakumbaInfoTag.java 5154 2010-05-18 22:01:40Z rosso_nero $
Author:
Rudolf Mayer
See Also:
Serialized Form

Field Summary
(package private)  String applicationProperties
           
(package private)  Properties sysprops
           
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
MakumbaInfoTag()
           
 
Method Summary
 int doStartTag()
           
 void printMakumbaPropertyRow(JspWriter out, String key, String value)
           
 void printSystemInfoRow(JspWriter out, String key, String value)
           
 void setApplicationProperties(String applicationProperties)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applicationProperties

String applicationProperties

sysprops

Properties sysprops
Constructor Detail

MakumbaInfoTag

public MakumbaInfoTag()
Method Detail

setApplicationProperties

public void setApplicationProperties(String applicationProperties)
Parameters:
applicationProperties - The applicationProperties to set.

doStartTag

public int doStartTag()
               throws JspException
Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class TagSupport
Throws:
JspException

printMakumbaPropertyRow

public void printMakumbaPropertyRow(JspWriter out,
                                    String key,
                                    String value)
                             throws IOException
Throws:
IOException

printSystemInfoRow

public void printSystemInfoRow(JspWriter out,
                               String key,
                               String value)
                        throws IOException
Throws:
IOException