public class SqlTransactionTag extends TagSupport implements TryCatchFinally
id, pageContext
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
SqlTransactionTag() |
Modifier and Type | Method and Description |
---|---|
void |
doCatch(java.lang.Throwable t)
Invoked if any exception is thrown while evaluating the tag.
|
void |
doFinally()
Invoked after doEndTag even with an exception.
|
int |
doStartTag()
Processed at the beginning of the tag.
|
void |
setDataSource(java.lang.Object dataSource)
Sets the data source
|
void |
setIsolation(java.lang.String isolation)
Sets the JSP-EL expression for the isolation.
|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
public void setDataSource(java.lang.Object dataSource)
public void setIsolation(java.lang.String isolation)
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 void doCatch(java.lang.Throwable t) throws java.lang.Throwable
TryCatchFinally
doCatch
in interface TryCatchFinally
t
- the thrown exceptionjava.lang.Throwable
public void doFinally()
TryCatchFinally
doFinally
in interface TryCatchFinally