|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
pt.moredata.connection.taglibs.EnforceLoginTag
EnforceLoginTag.java Company MoreData
| Field Summary | |
protected DataSource |
_dataSource
DataSource criado e armazenado na sessao. |
protected javax.sql.DataSource |
_jstlDataSource
DataSource para ser usado pela JSTL. |
| 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 | |
EnforceLoginTag()
|
|
| Method Summary | |
void |
doCatch(java.lang.Throwable t)
Invoked if a Throwable occurs while evaluating the BODY inside a tag or in any of the following methods: Tag.doStartTag(), Tag.doEndTag(), IterationTag.doAfterBody() and BodyTag.doInitBody(). |
int |
doEndTag()
Processa o fim da tag. |
void |
doFinally()
Invoked in all cases after doEndTag() for any class implementing Tag, IterationTag or BodyTag. |
int |
doStartTag()
Processa o fim da tag. |
void |
setConnectionId(java.lang.String connectionId)
Setter for property connectionId. |
void |
setDataSourceId(java.lang.String dataSourceId)
Setter for property dataSourceId. |
void |
setErrorPage(java.lang.String errorPage)
Setter for property errorPage. |
void |
setJstlDataSourceId(java.lang.String jstlDataSourceId)
Setter for property jstlDataSourceId. |
void |
setLoginPage(java.lang.String loginPage)
Setter for property loginPage. |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, 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 |
protected DataSource _dataSource
protected javax.sql.DataSource _jstlDataSource
| Constructor Detail |
public EnforceLoginTag()
| Method Detail |
public int doStartTag()
throws javax.servlet.jsp.JspTagException
doStartTag in interface javax.servlet.jsp.tagext.Tagjavax.servlet.jsp.JspTagException
public int doEndTag()
throws javax.servlet.jsp.JspTagException
doEndTag in interface javax.servlet.jsp.tagext.Tagjavax.servlet.jsp.JspTagException
public void doCatch(java.lang.Throwable t)
throws java.lang.Throwable
doCatch in interface javax.servlet.jsp.tagext.TryCatchFinallyt - - The throwable exception navigating through this tag.
java.lang.Throwable - - if the exception is to be rethrown further
up the nest chain.public void doFinally()
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinallypublic void setDataSourceId(java.lang.String dataSourceId)
dataSourceId - New value of property dataSourceId.public void setLoginPage(java.lang.String loginPage)
loginPage - New value of property loginPage.public void setErrorPage(java.lang.String errorPage)
errorPage - New value of property errorPage.public void setConnectionId(java.lang.String connectionId)
connectionId - New value of property connectionId.public void setJstlDataSourceId(java.lang.String jstlDataSourceId)
jstlDataSourceId - New value of property jstlDataSourceId.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||