|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.caucho.jstl.el.SqlSetDataSourceTag
public class SqlSetDataSourceTag
Nested Class Summary | |
---|---|
static class |
SqlSetDataSourceTag.DataSourceAdapter
|
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 | |
---|---|
SqlSetDataSourceTag()
|
Method Summary | |
---|---|
int |
doStartTag()
Processed at the beginning of the tag. |
static javax.sql.DataSource |
openDataSource(java.lang.String driverClass,
java.lang.String url,
java.lang.String user,
java.lang.String password)
|
void |
setDataSource(Expr dataSource)
Sets the JSP-EL expression for the dataSource. |
void |
setDriver(Expr driver)
Sets the JSP-EL expression for the driver. |
void |
setPassword(Expr password)
Sets the JSP-EL expression for the password. |
void |
setScope(java.lang.String scope)
Sets the scope. |
void |
setUrl(Expr url)
Sets the JSP-EL expression for the URL. |
void |
setUser(Expr user)
Sets the JSP-EL expression for the user. |
void |
setVar(java.lang.String var)
Sets the variable name. |
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 |
Constructor Detail |
---|
public SqlSetDataSourceTag()
Method Detail |
---|
public void setDataSource(Expr dataSource)
public void setUrl(Expr url)
public void setDriver(Expr driver)
public void setUser(Expr user)
public void setPassword(Expr password)
public void setVar(java.lang.String var)
public void setScope(java.lang.String scope)
public int doStartTag() throws JspException
TagSupport
The default behavior returns SKIP_BODY to skip the tag's body.
doStartTag
in interface Tag
doStartTag
in class TagSupport
JspException
public static javax.sql.DataSource openDataSource(java.lang.String driverClass, java.lang.String url, java.lang.String user, java.lang.String password) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |