org.apache.jackrabbit.taglib
Class SessionTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.apache.jackrabbit.taglib.SessionTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class SessionTag
extends javax.servlet.jsp.tagext.TagSupport

Creates a session stores it in a page scope variable.

Author:
Edgar Poce
See Also:
Serialized Form

Field Summary
 
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
SessionTag()
          Constructor and initialization
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 void release()
           
 void setPassword(java.lang.String pwd)
          Sets the password
 void setRepositoryJNDI(java.lang.String repository)
          Sets the repository JNDI address
 void setUser(java.lang.String user)
          Sets the user
 void setVar(java.lang.String target)
          Sets the variable where the Session will be stored
 void setWorkspace(java.lang.String workspace)
          Sets the workspace
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionTag

public SessionTag()
Constructor and initialization

Method Detail

setPassword

public void setPassword(java.lang.String pwd)
Sets the password

Parameters:
pwd -

setRepositoryJNDI

public void setRepositoryJNDI(java.lang.String repository)
Sets the repository JNDI address

Parameters:
repository -

setVar

public void setVar(java.lang.String target)
Sets the variable where the Session will be stored

Parameters:
target -

setUser

public void setUser(java.lang.String user)
Sets the user

Parameters:
user -

setWorkspace

public void setWorkspace(java.lang.String workspace)
Sets the workspace

Parameters:
workspace -

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

release

public void release()


Copyright © 2005 . All Rights Reserved.