public class TransactionTag extends TransactionTagSupport
<transaction>
using the container's EL implementation.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 |
release()
Release state.
|
void |
setDataSource(String expression) |
void |
setIsolation(String expression)
Setter method for the transaction isolation level.
|
doCatch, doEndTag, doFinally, getSharedConnection
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
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()
public void release()
TagSupport
release
in interface Tag
release
in class TransactionTagSupport
Tag.release()
public void setDataSource(String expression)
public void setIsolation(String expression)
TransactionTagSupport
setIsolation
in class TransactionTagSupport
Copyright © 2017 JBoss by Red Hat. All rights reserved.