public class TransactionTag extends TransactionTagSupport
dataSourceSpecified, rawDataSourceid, pageContextEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
TransactionTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doStartTag()
Prepares for execution by setting the initial state, such as
getting the
Connection and preparing it for
the transaction. |
void |
setDataSource(Object dataSource)
Setter method for the SQL DataSource.
|
void |
setIsolation(String isolation)
Setter method for the Transaction Isolation level.
|
doCatch, doEndTag, doFinally, getSharedConnection, releasedoAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic void setDataSource(Object dataSource)
public void setIsolation(String isolation)
setIsolation in class TransactionTagSupportpublic int doStartTag()
throws JspException
TransactionTagSupportConnection and preparing it for
the transaction.doStartTag in interface TagdoStartTag in class TransactionTagSupportJspException - if an error occurs while processing this tagTag.doStartTag()Copyright © 2018 JBoss by Red Hat. All rights reserved.