|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectBodyTagSupport
com.atomikos.icatch.jta.jsp.TransactionTag
public final class TransactionTag
A JSP tag handler for transaction demarcation in a JSP page.
| Constructor Summary | |
|---|---|
TransactionTag()
|
|
| Method Summary | |
|---|---|
void |
doCatch(Throwable arg)
This method is invoked by the JSP engine whenever there is an exception in the body. |
void |
doFinally()
Invoked at the end of the tag. |
int |
doStartTag()
Invoked before the body is evaluated. |
void |
setTimeout(String seconds)
Sets the timeout for new transactions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionTag()
| Method Detail |
|---|
public void setTimeout(String seconds)
seconds - The timeout in seconds.
public int doStartTag()
throws JspException
JspException - On failure.
public void doCatch(Throwable arg)
throws Throwable
arg - The exception that has happened. This
exception is re-raised after marking the transaction
for rollback.
Throwablepublic void doFinally()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||