public class TransactionTag extends TransactionTagSupport
dataSourceSpecified, rawDataSource
id, pageContext
EVAL_BODY_AGAIN
EVAL_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, release
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
public void setDataSource(Object dataSource)
public void setIsolation(String isolation)
setIsolation
in class TransactionTagSupport
public int doStartTag() throws JspException
TransactionTagSupport
Connection
and preparing it for
the transaction.doStartTag
in interface Tag
doStartTag
in class TransactionTagSupport
JspException
- if an error occurs while processing this tagTag.doStartTag()
Copyright © 2016 JBoss by Red Hat. All rights reserved.