public class SetDataSourceTagSupport extends TagSupport
Tag handler for <SetDataSource> in JSTL, used to create a simple DataSource for prototyping.
| Modifier and Type | Field and Description |
|---|---|
protected Object |
dataSource |
protected boolean |
dataSourceSpecified |
protected String |
driverClassName |
protected String |
jdbcURL |
protected String |
password |
protected String |
userName |
id, pageContextEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
SetDataSourceTagSupport() |
| Modifier and Type | Method and Description |
|---|---|
int |
doStartTag()
Default processing of the start tag, returning SKIP_BODY.
|
void |
release()
Release state.
|
void |
setScope(String scope)
Setter method for the scope of the variable to hold the
result.
|
void |
setVar(String var) |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueprotected Object dataSource
protected boolean dataSourceSpecified
protected String jdbcURL
protected String driverClassName
protected String userName
protected String password
public void setScope(String scope)
public void setVar(String var)
public int doStartTag()
throws JspException
TagSupportdoStartTag in interface TagdoStartTag in class TagSupportJspException - if an error occurs while processing this tagTag.doStartTag()public void release()
TagSupportrelease in interface Tagrelease in class TagSupportTag.release()Copyright © 2018 JBoss by Red Hat. All rights reserved.